Visual Studio Code Chrome调试器-开始调试时出错

问题描述 投票:0回答:1

在Visual Studio代码内部启动chrome调试器时,它显示一个弹出窗口,并显示错误消息“找不到类型为'chrome'的调试适配器。”

我已经尝试在Chrome的属性以及launch.json中将remote-debugging-port设置为9222,>

这是我当前正在尝试使用的launch.json:

{
    "version": "0.2.0",
    "configurations": [

        {
            "name": "Chrome Debug",
            "type": "chrome",
            "request": "launch",
            "url": "http://localhost/app",
            "runtimeArgs" : [
                "--remote-debugging-port=9222"
            ],
            "webRoot": "${workspaceFolder}/path_to_js"
        }
    ]
}

[在Visual Studio代码内部启动chrome调试器时,它会显示一个弹出窗口,并显示错误消息:“找不到类型为'chrome'的调试适配器。”我已经尝试过设置remote-debugging -...

javascript visual-studio-code remote-debugging chrome-remote-debugging
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.