我正在同时处理多个项目,对于其中一个项目,我想使用Chrome Canary在Visual Studio Code中调试我的应用程序.
所以对于稳定的Chrome我有
{
"name": "Launch Chrome",
"type": "chrome",
"request": "launch",
"url": "http://localhost:7246/",
"runtimeArgs": [
"--new-window",
"--remote-debugging-port=9222"
],
"webRoot": "${workspaceRoot}/app/"
}
Run Code Online (Sandbox Code Playgroud)
有没有简单的方法在launch.json中配置在单独的调试端口(例如9223)上使用Chrome Canary,所以我可以使用Chrome Stable和调试端口9222进行所有其他操作?