.vscode/launch.json
{
// Use IntelliSense to find out which attributes exist for node debugging
// Use hover for the description of the existing attributes
// For further information visit https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Gulp",
"type": "node2",
"request": "launch",
"program": "${workspaceRoot}\\packages\\alsatian\\dist\\cli\\alsatian-cli.js",
"cwd": "${workspaceRoot}",
"args": ["./test/integration-tests/gulp/runner"],
"outFiles": [],
"sourceMaps": true
},
{
"name": "Debug Unit Tests",
"type": "node2",
"request": "launch",
"program": "${workspaceRoot}\\packages\\alsatian\\dist\\cli\\alsatian-cli.js",
"cwd": "${workspaceRoot}",
"args": ["./packages/alsatian/dist/test/unit-tests/**/*.spec.js"],
"outFiles": [],
"sourceMaps": true
},
{
"name": "Debug Tap Bark Unit Tests",
"type": "node2",
"request": "launch",
"program": "${workspaceRoot}\\packages\\alsatian\\dist\\cli\\alsatian-cli.js",
"cwd": "${workspaceRoot}",
"args": [ "./packages/tap-bark/test-build/test/unit-tests/**/*.test.js"],
"outFiles": [],
"sourceMaps": true
},
{
"name": "Launch Program",
"type": "node2",
"request": "launch",
"program": "${workspaceRoot}\\packages\\alsatian\\dist\\core\\alsatian-core.js",
"cwd": "${workspaceRoot}",
"outFiles": [],
"sourceMaps": true
},
{
"name": "Attach to Process",
"type": "node2",
"request": "attach",
"port": 9229,
"outFiles": [],
"sourceMaps": true
}
]
}