vscode-firefox-debug icon indicating copy to clipboard operation
vscode-firefox-debug copied to clipboard

Your Firefox profile cannot be loaded. It may be missing or inaccessible.

Open ilmoralito opened this issue 2 years ago • 5 comments

when trying to launch the debugger, after a while I get the message Your Firefox profile cannot be loaded. It may be missing or inaccessible. and then the message Error launching configuration \n connect ECONNREFUSED 127.0.0.1:6000

I first tried to specify the profile directory via profileDir but got the same message. Then I try to specify the name of the profile but I get this message in the console

Debugging session ended unexpectedly
Debugging ended

Could you help me how to solve this behavior?

ilmoralito avatar Feb 26 '23 15:02 ilmoralito

I have the exact same issue :(

ghost avatar Mar 04 '23 10:03 ghost

Same issue, four months after OP's post. Is anyone still working on this extension?

James-VT avatar May 27 '23 12:05 James-VT

PR #200 shows the "tmpUrl" property. I set tmpUrl like this:

{
  "request": "launch",
  "type": "firefox",
  "reAttach": true,
  // "preLaunchTask": "npm: start:refresh",
  "name": "Launch localhost (firefox)",
  "tmpDir": "${workspaceFolder}/.vscode/firefox-tmp/",
  "url": "http://localhost:1234/",
  "webRoot": "${workspaceFolder}",
}

It launches firefox now.

i12345 avatar May 27 '23 18:05 i12345

For people facing this bug, can you tell us what's your OS and what version of Firefox you're seeing the issue in?

nchevobbe avatar Feb 09 '24 15:02 nchevobbe