问题描述
我最近将IntelliJ从15升级到2020。调试node.js代码时,调试选项卡未正确显示。我看到一条错误消息:运行'app.js'时出错:com / sun / javafx / runtime / FXObject
Please refer to the below link to see the error I saw:
如果您对此问题有任何想法,请告诉我。
谢谢, 简
解决方法
运行IDE的JRE很可能不包含javafx。请尝试使用捆绑的JBR(https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under)
如果没有帮助,请尝试在注册表中禁用js.debugger.webconsole
键(帮助>查找操作... ,键入registry...
进行定位它)