简体   繁体   中英

Debugging node.js with jetbrains variables show 'Collecting data…'

When debugging a node session and you stop in the debugger, the Variables view shows "Collecting data..." but the data never arrives:

屏幕截图

This happens with node version 0.10.34 and 0.10.35 of node.

I have experienced the same problem with Jet brains once I installed Node v.6.0.0.

The solution was:

  1. Install nvm (node version manager).

  2. Debug your programs with Node version pointed to v.5.8.0

Upgrage to 2016.2 and this issue is fixed. Now you can use node 6 with debugging and works perfectly fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM