Skip to content

When launching a webapp debugging session on an non-mainstream browser, VSCode errors providing no useful info #162957

Closed
microsoft/vscode-js-debug
#1426
@Aster89

Description

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:

  1. Install qutebrowser
  2. 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 qutebrowser/qutebrowser#7417 (reply in thread).)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions