vue3 vite vscode断点调试
vue3 vite vscode断点调试
·
1,直接创建launch.json
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Edge",
"request": "launch",
"type": "msedge",
"url": "http://localhost:3000", // 写自己的端口号
"webRoot": "${workspaceFolder}/src",
},
]
}
2,不需要做其他任何配置
然后启动调试
更多推荐
已为社区贡献23条内容
所有评论(0)