node.js - Node v5 破坏了 Webstorm 的调试器

标签 node.js debugging webstorm

Node 几天前发布了它的(不是那么)稳定的 v5 版本。我注意到,当我尝试使用调试器使用 Webstorm 运行 Node 项目时,我在启动时收到以下异常:

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)

我没有其他环境可以重现此错误。程序继续运行,但不再在断点处停止。有什么办法可以解决这个问题吗?

更新:我已经向 Jetbrains 开了一张票,他们说他们会尽快用补丁解决这个问题。

最佳答案

描述了此问题 here解决方法描述为here

基本上加 解决方法:指定 jvm 系统属性:

-Dnodejs.debugger.use.jb.support=false

在你的 idea.vmoptions 文件中。

关于node.js - Node v5 破坏了 Webstorm 的调试器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33515777/

相关文章:

node.js - 加载资源失败:net::ERR_INSECURE_RESPONSE socket.io

node.js - ExpressJS : Why does this output [] on the first GET, 然后下一个 GET 返回上一个的数据?

node.js - 在 Promise.all 中解析时将 Promise 结果流式传输给客户端

c# - 如何在 C# 中使用 "using"而不获取 "InvalidOperationException"?

visual-studio-2008 - 缺少 cxcore110d.dll?

webstorm - 如何在创建片段时获取文件名(实时模板)

node.js - 需要解释 Docpad 持久性

c#:调试时公开,否则私有(private)

ember.js - 用于 Ember 注入(inject)服务的 Intellisense

intellij-idea - IntelliJ (Webstorm/PyCharm) 采取行动的快捷方式现在打开奇怪的弹出窗口