1
0
mirror of synced 2025-11-08 04:48:04 +00:00
Files
typescript-starter/.vscode/launch.json
Jason Dreyzehner 390041b510 feat: TS v4, tslint -> eslint, add cspell support (#240)
Update all dependencies, migrate from tslint (deprecated) to typescript-eslint, and add support for
cspell.

BREAKING CHANGE: migrated from tslint (deprecated) to eslint.
2020-09-01 19:13:25 -04:00

45 lines
1.3 KiB
JSON

{
"version": "0.2.0",
"configurations": [
// To debug, make sure a *.spec.ts file is active in the editor, then run a configuration
{
"type": "node",
"request": "launch",
"name": "Debug Active Spec",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ava",
"runtimeArgs": ["debug", "--break", "--serial", "${file}"],
"port": 9229,
"outputCapture": "std",
"skipFiles": ["<node_internals>/**/*.js"],
"preLaunchTask": "npm: build"
// "smartStep": true
},
{
// Use this one if you're already running `yarn watch`
"type": "node",
"request": "launch",
"name": "Debug Active Spec (no build)",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ava",
"runtimeArgs": ["debug", "--break", "--serial", "${file}"],
"port": 9229,
"outputCapture": "std",
"skipFiles": ["<node_internals>/**/*.js"]
// "smartStep": true
},
// --- cut here ---
// CLI:
{
"type": "node",
"request": "launch",
"name": "Try CLI",
"program": "${workspaceFolder}/bin/typescript-starter",
"cwd": "${workspaceFolder}/build",
"env": {
"TYPESCRIPT_STARTER_REPO_URL": "${workspaceFolder}"
},
"args": ["debug"],
"skipFiles": ["<node_internals>/**/*.js"]
}
]
}