.vscode/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": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/index.js",
"outFiles": [
"${workspaceFolder}/**/*.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/cross-env/dist/bin/cross-env.js",
"cwd": "${workspaceFolder}",
"args": [
"CI=true",
"ng",
"test",
"--project",
"ngxs",
"--colors",
"--run-in-band"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/cross-env/dist/bin/cross-env.js",
"cwd": "${workspaceFolder}",
"args": [
"CI=true",
"ng",
"test",
"--project",
"ngxs",
"--testPathPattern=${fileBasenameNoExtension}",
"--colors",
"--run-in-band"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
}
]
}