Abhishek singh
Abhishek singh

Reputation: 415

Unable to debug in WebStorm "bad option: --expose_debug_as=v8debug"

I am trying to debug my NodeJS code using WebStorm 2016.3 and NodeV8 and I am unable to debug it with this error

"bad option: - expose_debug_as=v8debug"

Upvotes: 5

Views: 1688

Answers (2)

Rafael Delbel
Rafael Delbel

Reputation: 337

Just add as Node parameter in Edit Configurations -> Node parameters : '--inspect'. Tested in Webstorm 2016.3 (Linux edition)

Upvotes: 2

Abhishek singh
Abhishek singh

Reputation: 415

I got this fixed by updating my Webstorm to Webstorm 2017.x This will debug with Node 8.

Upvotes: 3

Related Questions