Vee*_*ee6 28 debugging node.js webstorm
Node几天前发布了它的(不那么)稳定的v5版本.我注意到当我尝试使用带有调试器的Webstorm运行节点项目时,我在启动时遇到以下异常:
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 undefined, :217:15)
at t.describeFrame (eval at undefined, :213:33)
at t.getFrames (eval at undefined, :114:89)
at DebugCommandProcessor.r.processDebugJSONRequest (eval at undefined, :348:15)
Run Code Online (Sandbox Code Playgroud)
我没有其他环境来重现此错误.程序继续运行,但它不再停在断点上.有什么想法解决这个问题吗?
更新:我已经与Jetbrains开了一张票,他们说他们会尽快修补这个问题.
在我来说,我复制/Applications/WebStorm.app/Contents/bin/webstorm.vmoptions到/Users/somename/Library/Preferences/WebStorm10/webstorm.vmoptions并添加-Dnodejs.debugger.use.jb.support=false行.结果文件是:
-Xms128m
-Xmx1000m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=225m
-XX:+UseCompressedOops
-Dnodejs.debugger.use.jb.support=false
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6973 次 |
| 最近记录: |