vscode配置 chrome debug

修改launch.json的内容如下

figurations": [
        {
            "name": "Launch localhost with sourcemaps","type": "chrome","request": "launch","url": "http://localhost:9001/",//your application running with ng serve
            "sourceMaps": true,"diagnosticLogging": true,"runtimeArgs": [
                "--remote-debugging-port=9222" //Open in port 9222 (standard chrome debug port)
            ],"webroot": "${workspaceRoot}"
        },{
            "name": "Attach with sourcemaps","request": "attach","port": 9222,"sourceMaps": true,"webroot": "${workspaceRoot}"
        }
    ]
}

相关文章

显卡天梯图2024最新版,显卡是电脑进行图形处理的重要设备,...
初始化电脑时出现问题怎么办,可以使用win系统的安装介质,连...
todesk远程开机怎么设置,两台电脑要在同一局域网内,然后需...
油猴谷歌插件怎么安装,可以通过谷歌应用商店进行安装,需要...
虚拟内存这个名词想必很多人都听说过,我们在使用电脑的时候...