Balz Guenat
Balz Guenat

Reputation: 1711

Not able to hit any Breakpoints in WebStorm, even in very simple setting

Even in an extremely simple setting, I'm unable to get any breakpoints in my code to hit. See the attached screenshot. After hitting 'Debug "main.js"', the execution is never interrupted.

enter image description here

Upvotes: 2

Views: 268

Answers (1)

LazyOne
LazyOne

Reputation: 165148

Since you are using Node v7.x ... the solution for now is:

  • either downgrade Node to v6.x
  • or WebStorm to older version.

From this official comment:

Are you using Node 7.x? It's a known issue unfortunately, see https://youtrack.jetbrains.com/issue/WEB-24629. Hidden option for turning dev tools protocol support off (js.debugger.node.use.inspect=false) will be included in next 2016.3 update - see https://youtrack.jetbrains.com/issue/WEB-24629#comment=27-1809582.

For now the only workaround is downgrading Node.js to 6.x :( Full Node 7 support (using v8 inspector) will be available in 2017.1


You may also try latest EAP build of 2017.1 -- https://confluence.jetbrains.com/display/WI/WebStorm+EAP -- it may have that fix already available (sorry, not using NodeJS myself so cannot confirm it).

Upvotes: 1

Related Questions