我在我的launch.json中使用babel-node作为我的runtimeExecutable,如this answer所示.这样做的原因是因为我在VSCode中使用ES6导入和断点,因为转换和源映射而四处移动. launch.json{"version": "0.2.0","configurations": [{"type": "node","request": "launch","name": "Debug","autoAttachChildProcesses": true,"program": "${workspaceFolder}/index.js","runtimeExecutable": "${workspaceFolder}/node_modules/.bin/babel-node...