小编vic*_*chi的帖子

如何在Visual Studio代码中调试子Node.JS进程?

如何在VS Code中调试子Node.JS进程?
以下是我正在尝试调试的代码示例:

var spawn = require('child_process').spawn;
var scriptPath = './child-script.js';
var runner_ = spawn('node', [scriptPath]);
Run Code Online (Sandbox Code Playgroud)

debugging child-process node.js visual-studio-code

10
推荐指数
2
解决办法
5526
查看次数