The first issue is that there is some conflict error when you do the following from your app.js file and hit F5 to debug:
var cp = require('child_process'); var node2 = cp.fork('./app_FORK.js');
Error: listen EADDRINUSE :::15838 at Object.exports._errnoException (util.js:856:11)
I had the same issue with VS Community, so I did the following there and it worked: var node2 = cp.fork('./app_FORK.js', [], { execArgv: ['--debug=5859'] });
However, in VS Code, it does not seem to work. I place breakpoints, or try to attach after launching node from the command line and it errors out.