{
    // Use IntelliSense to learn about possible Node.js debug 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": "launch",
            "name": "启动程序",
            "program": "${workspaceRoot}\\dist\\startkit.js",
            "sourceMaps": true, //sourcemap打开
            "outFiles": [
                "${workspaceRoot}\\dist\\startkit.js"
            ], //源映射，指定实际执行文件
            "preLaunchTask": "build", //首先执行build task
            "env": {
                "DEBUG": "*,-babel"
            },
            "args": [
                "list"
            ]
        },
        {
            "type": "node",
            "request": "attach",
            "name": "附加到端口",
            "address": "localhost",
            "port": 5858
        }
    ]
}