I just started Node.js development with VS 2017 Professional. Debugging generally works but when a uncaught exception is thrown the nodejs process is stopping immediately an i have no change to track the issue. I have also enabled the nodejs exptions in the debugger settings, but still no success. How can i setup VS to show the exceptions like in the C# development? Thanks!
1 Answer
I test a simple sample using VS2017, it works well in my side even if I use the VS2017 Enterprise version.
(1) Please make sure that you use the latest VS2017 version. 15.7.3.
(2) Please make sure that you install the latest Node.js version.
(3) Enable the Exceptions settings like the following screen shot. And enable "Use the new Exception Helper" option under TOOLS->OPTIONS->Debugging.
1 Comment
plex88
Thank you very much! Enabling JavaScript (Node.js 8+) Exceptions did the trick! Another short question: what would you as expert say should i work for node.js development with VS Code or Standard Visual Studio?
