63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
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": "Debug SWAPI Api",
|
|
"protocol": "inspector",
|
|
"cwd": "${workspaceRoot}/examples/star-wars",
|
|
"runtimeExecutable": "${workspaceRoot}/examples/star-wars/node_modules/.bin/ts-node-dev",
|
|
"args": [
|
|
"--no-notify",
|
|
"--transpileOnly",
|
|
"${workspaceRoot}/examples/star-wars/src/index.ts"
|
|
],
|
|
"restart": true,
|
|
"sourceMaps": true
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug ts-ast-reader",
|
|
"protocol": "inspector",
|
|
"cwd": "${workspaceRoot}/examples/ts-ast-reader",
|
|
"runtimeExecutable": "${workspaceRoot}/examples/ts-ast-reader/node_modules/.bin/ts-node-dev",
|
|
"args": [
|
|
"--no-notify",
|
|
"--transpileOnly",
|
|
"${workspaceRoot}/examples/ts-ast-reader/src/index.ts"
|
|
],
|
|
"restart": true,
|
|
"sourceMaps": true
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest All",
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
"args": ["--runInBand"],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"windows": {
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest Current File",
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
"args": ["${relativeFile}"],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"windows": {
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
|
|
}
|
|
}
|
|
]
|
|
}
|