launch.json 766 Bytes
{
    // Use IntelliSense to learn about possible Node.js debug 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": "Example",
            "program": "${workspaceRoot}/example/server.js",
            "cwd": "${workspaceRoot}"
        },
        {
            "type": "node",
            "request": "launch",
            "name": "Tests",
            "program": "${workspaceRoot}/node_modules/.bin/jasmine-node",
            "cwd": "${workspaceRoot}",
            "args": [
                "test"
            ]
        }
    ]
}