Attach Node.js debugger to desctop application

Hey everyone, please help me!

I have a desktop application, and I develop a plugin for it using TypeScript (then TypeScript transform to JavaScript ES3). I write everything in IDE PhpStorm. I need to use a debugger, but I don’t know how to attach Node.js debugger to my desktop application (the plugin I write uses a global object from the desktop application).


what does your application look like? any frameworks being used (Electron, NW.js, ...)? Can you debug using any other tools (Chrome dev tools, VSCode)?


Desktop application created using C++. I can debug it in Visual Studio. 


Hmm... No. You can't debug C++ code using Node.js debugger.

If you application supports writing plugins in javascript, it should provide a special support for debugging them


Please sign in to leave a comment.