调试 Node 应用程序时在 Mac OS 上看不到 WebStorm 2018.1 中的帧
Not seeing frames in WebStorm 2018.1 on Mac OS while debugging Node app
我正在调试来自 WebStorm 的节点应用程序。我按照 this 页面上的说明进行操作。我的节点应用程序使用集群模块分叉其他进程。网页说:
Node.js multiprocess debugging
WebStorm supports debugging additional Node.js processes that are
launched by the child_process.fork() method or by the cluster module.
Such processes are shown as threads in the Frame pane on the Debugger
tab of the Debug Tool Window.
但是当我转到 WebStorm 中的“框架”窗格时,我没有看到任何线程。相反,我看到以下内容:
我该如何解决这个问题?我在 Mac OS
上使用 WebStorm 2018.1
最近的 IDE 版本不支持使用 Node.js 0.10 调试子进程。请考虑将 Node.js 升级到 0.12.x 或更高版本,可以在那里调试子进程。
参见 https://youtrack.jetbrains.com/issue/WEB-27150#focus=streamItem-27-2202820-0-0
我正在调试来自 WebStorm 的节点应用程序。我按照 this 页面上的说明进行操作。我的节点应用程序使用集群模块分叉其他进程。网页说:
Node.js multiprocess debugging
WebStorm supports debugging additional Node.js processes that are launched by the child_process.fork() method or by the cluster module. Such processes are shown as threads in the Frame pane on the Debugger tab of the Debug Tool Window.
但是当我转到 WebStorm 中的“框架”窗格时,我没有看到任何线程。相反,我看到以下内容:
我该如何解决这个问题?我在 Mac OS
上使用 WebStorm 2018.1最近的 IDE 版本不支持使用 Node.js 0.10 调试子进程。请考虑将 Node.js 升级到 0.12.x 或更高版本,可以在那里调试子进程。 参见 https://youtrack.jetbrains.com/issue/WEB-27150#focus=streamItem-27-2202820-0-0