【发布时间】:2018-09-21 11:21:07
【问题描述】:
我的问题是,VSC 在调试 PhantomJS 文件时不会刹车。 只有1个js文件。 !我确实重新安装了 VSC、phantomjs 等。但没有运气。?!
我确实关注了tutorial on GitHub,也搜索了这个问题,但 VSC 仍然只显示:
未验证断点,因为找不到生成的代码而忽略断点(源映射问题?)
我的 launch.json 看起来像这样:
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "phantomjs",
"request": "launch",
"file": "C:/Users/TSS/Desktop/PhantomJS/bin/hello.js",
"webRoot": "C:/Users/TSS/Desktop/PhantomJS",
"runtimeExecutable": "C:/Users/TSS/Desktop/PhantomJS/bin/phantomjs.exe",
"runtimeArgs": [],
"scriptArgs": [],
"sourceMaps": true
}
]
}
【问题讨论】:
标签: phantomjs javascript-debugger