博客 / 前端Debugger for chrome Stella9812021年10月11日1114 阅读文章目录Debugger In VScode Getting Started Install the extension Debugger for chrome Config the launch.json Start debugging Launch { "version": "2.0.0", "configurations": [ { "name": "Launch localhost", "type": "chrome", "request": "launch", "url": "http://localhost/index.html", "webRoot": "${workspaceFolder}/wwwroot" }, { "name": "Launch index.html", "type": "chrome", "request": "launch", "file": "${workspaceFolder}/index.html" }, ] } Attach { "version": "0.1.0", "configurations": [ { "name": "Attach to url with files served from ./out", "type": "chrome", "request": "attach", "port": 9222, "url": "<url of the open browser tab to connect to>", "webRoot": "${workspaceFolder}/out" } ] } References # 前端
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论