30 lines
827 B
JSON
30 lines
827 B
JSON
{
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "mocha current file",
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"args": [
|
|
"${file}"
|
|
],
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "ts-node current file",
|
|
"protocol": "inspector",
|
|
"args": [
|
|
"${relativeFile}"
|
|
],
|
|
"cwd": "${workspaceRoot}",
|
|
"runtimeArgs": [
|
|
"-r",
|
|
"ts-node/register"
|
|
],
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
}
|
|
]
|
|
} |