firefox-devtools / firefox-devtools/vscode-firefox-debug
Connection refused while using Nvim DAP
- 主要言語
- TypeScript
- スター
- 447
- フォーク
- 76
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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?
コントリビューションガイド
調査の方向性
示されている dap.adapters.firefox の executable 設定と起動設定から始め、ポート 6000 に対する ECONNREFUSED エラーを再現します。参照されているエントリポイント adapter.bundle.js を使って、アダプターから Firefox デバッグサーバーへの接続を追跡します。提供された Nvim DAP セットアップで接続拒否なしに Firefox が起動すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- nodejs, typescript
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100