先用命令行启动项目
launch.json
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Microsoft Edge and open the Edge DevTools",
"request": "launch",
"type": "vscode-edge-devtools.debug",
"url": "http://localhost:8080",
"sourceMapPathOverrides": {
"webpack:///./": "{webRoot}/",
"webpack:///": "",
"webpack:///./~/": "{webRoot}/",
"meteor://💻app/": "${webRoot}/"
}
}
]
}
然后 F5 就可以进入调试模式
在想打点的地方打点
网友评论