{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug Test",
      "type": "node",
      "protocol": "inspector",
      "request": "launch",
      "cwd": "${workspaceRoot}",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha",
      "windows": {
        "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha.cmd"
      },
      "runtimeArgs": [
        "--colors",
        "--compilers",
        "js:babel-core/register",
        "${file}"
      ],
      "internalConsoleOptions": "openOnSessionStart"
    },
    {
      "name": "Attach to Port",
      "type": "node",
      "protocol": "inspector",
      "request": "attach",
      "port": 9229,
      "address": "localhost",
      "localRoot": "${workspaceRoot}"
    }
  ]
}

{
  "version": "0.2.0",
  "inputs": [
    {
      "id": "debugAddress",
      "type": "promptString",
      "default": "localhost",
      "description": "IP Address of Android Device"
    }
  ],
"configurations": [
    {
      "name": "Debug Test",
      "type": "node",
      "protocol": "inspector",
      "request": "launch",
      "cwd": "${workspaceRoot}",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha",
      "windows": {
        "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/mocha.cmd"
      },
      "runtimeArgs": [
        "--colors",
        "--compilers",
        "js:babel-core/register",
        "${file}"
      ],
      "internalConsoleOptions": "openOnSessionStart"
    },
    {
      "name": "Debug Tabris on Android",
      "type": "node",
      "protocol": "inspector",
      "request": "attach",
      "port": 9090,
      "address": "${input:debugAddress}",
      "stopOnEntry": false,
      "cwd": "${workspaceFolder}/snippets",
      "trace": true,
      "sourceMaps": true,
      "restart": true
    }
  ]
}

Configure visual studio code for snipppet debugging
Configure visual studio code for snipppet debugging

Change-Id: I346313d4ec940e823d83d039baa946f119d6dfd3
