firefox-devtools / vscode-firefox-debug

VS Code Debug Adapter for Firefox
https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug
MIT License
397 stars 66 forks source link

Attaching to firefox dev server does not work #359

Closed matthias-eb closed 8 months ago

matthias-eb commented 8 months ago

My configuration:

{
      "name": "Run after build",
      "type": "firefox",
      "request": "launch",
      "file": "${workspaceFolder}/dist/index.html"
    }

Starting this configuration successfully starts the firefox dev server. But it then fails to attach as the firefox dev server is started on 127.0.0.1:6000 and the vscode extension tries to connect to ::1:6000. I do not see a solution to either let the browser or the extension use another host.

matthias-eb commented 8 months ago

Some further information: OS: Arch Linux (Garuda Linux) VSCode: code-oss command to check on which port the application listens: sudo lsof -i -P -n | grep LISTEN

hbenl commented 8 months ago

When you say "VSCode: code-oss" does that mean you're using VSCodium? In that case this would be a duplicate of #253 .

matthias-eb commented 8 months ago

It is not the same Program but it also ships with OpenVSX as its implementation. It can therefore be marked as duplicate. Thanks for the information :). For more information regarding the differences between VSCode editors, look here