Skip to content

Instantly share code, notes, and snippets.

@sangaman sangaman/launch.json
Created Oct 16, 2018

Embed
What would you like to do?
Xud - Sample VSCode configuration
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug",
"cwd": "${workspaceRoot}",
"args": [
"bin/xud"
],
"runtimeArgs": [
"-r", "ts-node/register"
],
"sourceMaps": true,
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Mocha All",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha",
"runtimeArgs": [
"--no-timeouts",
"--colors",
"-r", "ts-node/register",
"${workspaceRoot}/test/*/*.spec.ts"
],
"sourceMaps": true,
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Mocha Current File",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha",
"runtimeArgs": [
"--no-timeouts",
"--colors",
"-r", "ts-node/register",
"${file}"
],
"sourceMaps": true,
"console": "integratedTerminal"
},
]
}
{
"editor.tabSize": 2,
"typescript.preferences.quoteStyle": "single",
"javascript.preferences.quoteStyle": "single"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.