firefox-devtools / firefox-devtools/vscode-firefox-debug

Connection refused while using Nvim DAP

Aperta
#306 7 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
447
Fork
76
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hey! I'm trying to debug in firefox, but every time I try running I receive this error: `Error on launch: connect ECONNREFUSED ::1:6000`
I verified the debug server is running on port 6000 by running `lsof -i 6000` and my configuration looks like this:

```lua
dap.adapters.firefox = {
type = "executable",
command = "node",
args = { os.getenv("HOME") .. "/apps/vscode-firefox-debug/dist/adapter.bundle.js" },
}
```

Then the launch configuration:

```lua
{
name = "Debug with Firefox",
type = "firefox",
request = "launch",
reAttach = true,
url = "http://localhost:3000",
webRoot = "${workspaceFolder}",
firefoxExecutable = "/usr/bin/firefox",
},
```

I have all the necessary `about:config` variables set, but the connection is always refused, is there something I have to change?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the shown dap.adapters.firefox executable configuration and launch configuration, then reproduce the ECONNREFUSED error against port 6000. Trace the adapter connection to the Firefox debug server using the referenced adapter.bundle.js entry point; done means the supplied Nvim DAP setup launches Firefox without the connection refusal.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
nodejs, typescript
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.