Skip to content

Instantly share code, notes, and snippets.

@sangaman
Created October 16, 2018 03:20
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 sangaman/117af412eefc28c4f763c0152ddd3b99 to your computer and use it in GitHub Desktop.
Save sangaman/117af412eefc28c4f763c0152ddd3b99 to your computer and use it in GitHub Desktop.
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