javascript - webstrom debug nodejs出错
黄舟
黄舟 2017-04-10 16:53:20
[JavaScript讨论组]

页面代码

function a(){
    console.log(2)
}
function b(){
    a();
    console.log(1)
}
b()

错误提示

Cannot stop on breakpoint due to internal error: org.jetbrains.v8.V8CommandProcessor$1: TypeError: f is not a function at Function.t.getScopes (eval at (f:\cjg\WebstormProjects\1122\sk.js:1:11), :217:15) at t.describeFrame (eval at (f:\cjg\WebstormProjects\1122\sk.js:1:11), :213:33) at t.getFrames (eval at (f:\cjg\WebstormProjects\1122\sk.js:1:11), :114:89) at DebugCommandProcessor.r.processDebugJSONRequest (eval at (f:\cjg\WebstormProjects\1122\sk.js:1:11), :348:15) at Object. (f:\cjg\WebstormProjects\1122\sk.js:8:1) at Module._compile (module.js:425:26) at Object.Module._extensions..js (module.js:432:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.runMain [as _onTimeout] (module.js:457:10)

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

全部回复(5)
迷茫

升级吧 版本太低了

黄舟

webstorm11?
I meet this fuxxxking problem too..

PHP中文网

升级后好了……

高洛峰

IDE_HOME\bin\<product>bits.vmoptions

加入这句:
-Dnodejs.debugger.use.jb.support=false

ringa_lee

用WTIFS的方法可以debug了。不能debug应该是因为升级了node的版本,我升级node到5.4.1就不能debug了。新版本的node用的是io.js。
也可以升级到最新版webstorm解决debug问题,不过我没试过

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号