launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node", 指定调试语言
"request": "attach", 绑定
"name": "debug", 指定调试工具名称
"processId": "${command:PickProcess}", 绑定何进程
"restart": true,
"protocol": "inspector",
}
]
}