vscode: When launching a webapp debugging session on an non-mainstream browser, VSCode errors providing no useful info
Does this issue occur when all extensions are disabled?: Yes, as I haven’t installed any.
- VS Code Version: 1.72.0
- OS Version: ArchLinux, up-to-date
Steps to Reproduce:
- Install qutebrowser
- Use the following as the your
launch.json
when debugging a web app, and you’ll get an “Unable to attach to browser” error message. Unfortunately such an error gives no info (at least I couldn’t find it) to investigate the problem further, should it be on qutebrowser’s side{ "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "launch", "runtimeExecutable": "/usr/bin/qutebrowser", "runtimeArgs": ["-T", "--qt-flag remote-debugging-port=9229"], "name": "Launch Chrome against localhost", "url": "http://localhost:1234", "webRoot": "${workspaceFolder}" } ] }
(See also the https://github.com/qutebrowser/qutebrowser/discussions/7417#discussioncomment-3821722.)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (12 by maintainers)
Commits related to this issue
- feat: add an ignoreLaunchArgs option Fixes https://github.com/microsoft/vscode/issues/162957 — committed to microsoft/vscode-js-debug by connor4312 2 years ago
Yea
To be super clear:
ignoreDefaultConnection
doesn’t currently exist. What I’m suggesting is adding it (just an idea, may not be a good one). If we added it, you’ll add it to the same place where you haveignoreDefaultArgs
right now.