wait-for-process-forkThis repository is a fork. Check changelog to see changes i made. wait-for-processThis very small extensions exposes a vscode command called The command returns the PID of a matching process, either by matching by process name (e.g. Currently works only on windows. ExampleLet's say you have a native node addon, called launch.json:
The above configuration (named The possible arguments to the command are:
Debugging startup issues in your Node addonIf you need to make sure Electron waits for the debugger to attach before proceeding you can add the following C++ snipped to your addon init function. It will wait for up to 1 minute for a debugger to attach when a debugger attaches is will trigger a breakpoint.
NoteThe plugin uses a native-helper called |