XYOracleNetwork/client-xyo-nodejs

View on GitHub
.vscode/launch.json

Summary

Maintainability
Test Coverage
/*
 * @Author: XY | The Findables Company <xyo-network>
 * @Date:   Friday, 17th August 2018 9:56:29 am
 * @Email:  developer@xyfindables.com
 * @Filename: launch.json
 
 * @Last modified time: Tuesday, 27th November 2018 11:14:49 am
 * @License: All Rights Reserved
 * @Copyright: Copyright XY | The Findables Company
 */
 {
  "version": "0.2.0",
  "configurations": [
    
    {
      "type": "node",
      "request": "attach",
      "name": "Attach by Process ID",
      "processId": "${command:PickProcess}"
    },
    {
      "type": "node",
      "request": "launch",
      "name": "Run Tests",
      "program": "${workspaceFolder}/node_modules/jest/bin/jest",
      "args": ["--runInBand"],
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "env": {
        "NODE_ENV": "test"
      }
    },
    {
      "type": "node",
      "request": "launch",
      "name": "Test Open File",
      "program": "${workspaceFolder}/node_modules/jest/bin/jest",
      "args": ["${relativeFile}", "--detectOpenHandles"],
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "env": {
        "NODE_ENV": "test"
      }
    },
    {
      "name": "Current TS File",
      "type": "node",
      "request": "launch",
      "args": ["${relativeFile}"],
      "runtimeArgs": ["--nolazy", "-r", "ts-node/register"]
    },
    {
      "name": "Launch Archivist",
      "type": "node",
      "request": "launch",
      "args": ["src/index.ts", "start", "archivist"],
      "cwd": "${workspaceFolder}/packages/app",
      "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
      "console": "integratedTerminal"
    },
    {
      "name": "Launch Dynamo Archivist",
      "type": "node",
      "request": "launch",
      "args": ["src/index.ts", "start", "archivist-dynamo"],
      "cwd": "${workspaceFolder}/packages/app",
      "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
      "console": "integratedTerminal"
    },
    {
      "name": "Launch Home",
      "type": "node",
      "request": "launch",
      "args": ["src/index.ts", "home"],
      "cwd": "${workspaceFolder}/packages/app",
      "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
      "console": "integratedTerminal"
    },
    {
      "name": "Launch Default",
      "type": "node",
      "request": "launch",
      "args": ["src/index.ts"],
      "cwd": "${workspaceFolder}/packages/app",
      "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
      "console": "integratedTerminal"
    }
  ]
}