标签: visual-studio-code launch
如何通过launch.json运行NPM软件包?我尝试过:
{ "type": "node", "request": "launch", "name": "Build Listener", "program": "pkg", "args":["${workspaceFolder}/listener.js"] }
其中NPM软件包称为pkg,文件路径以arg形式传递
pkg