Skip to content

Instantly share code, notes, and snippets.

@szul
Created April 3, 2020 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save szul/77fe124d00a7e25bbee5574e7f1a27ae to your computer and use it in GitHub Desktop.
Save szul/77fe124d00a7e25bbee5574e7f1a27ae to your computer and use it in GitHub Desktop.
VSCode Launch
{
// 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 LMS Program",
"program": "${workspaceFolder}/apps/lms/dist/index.js",
"preLaunchTask": "build-lms",
"outFiles": [
"${workspaceFolder}/apps/lms/dist/**/*.js"
],
"envFile": "${workspaceFolder}/apps/lms/.env"
},
{
"type": "node",
"request": "launch",
"name": "Launch OTS Program",
"program": "${workspaceFolder}/apps/ots/dist/index.js",
"preLaunchTask": "build-ots",
"outFiles": [
"${workspaceFolder}/apps/ots/dist/**/*.js"
],
"envFile": "${workspaceFolder}/apps/ots/.env"
},
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceRoot}/node_modules/mocha/bin/mocha",
"args": [
"--inspect-brk",
"${workspaceFolder}/test/**/*.js"
],
"port": 9229,
"internalConsoleOptions": "openOnSessionStart"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment