NodeJS project not showing variables in debugger
On Windows 10.
If I use IntelliJ's installed version of Node (12.13.1), debugging works as expected. If I change the debug configuration "node intepreter" to use the version downloaded from nodejs.org (12.16.1), breakpoints work, but I don't see any variables in the debugger. Any ideas on what's going on?
Please sign in to leave a comment.
works fine for me when using Node 12.16.1
What IDE version do you use? Please share a screenshot of your run configuraation plus screenshots that show up the issue
IntelliJ IDEA 2019.3.3 (Ultimate Edition)
Build #IU-193.6494.35, built on February 10, 2020
Runtime version: 11.0.5+10-b520.38 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 24
Registry:
Non-Bundled Plugins: aws.toolkit, com.intellij.kubernetes, org.intellij.scala
Reproduced with Express app, when debugging `www` script (in other files, seems to work as expected).
All other Node.js versions I've tried (13.2.0, 13.9.0, 12.13.0) don't show up the issue; works in the same way in VSCode:
So it appears to be a problem with V8 engine in Node.js 12.16.1...
Thank you!
I can confirm this. Switching to Node 13 fixed this issue for me.