Skip to content

sr258's launch.json file for VS Code

Sebastian Rettig edited this page Oct 19, 2019 · 1 revision
{
    // Use IntelliSense to learn about possible 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": "Jest All",
            "program": "${workspaceFolder}/node_modules/.bin/jest",
            "args": ["--runInBand"],
            "console": "integratedTerminal",
            "internalConsoleOptions": "neverOpen",
            "disableOptimisticBPs": true,
            "windows": {
                "program": "${workspaceFolder}/node_modules/jest/bin/jest"
            }
        },
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceFolder}/examples/express.js",
            "runtimeArgs": ["-r", "source-map-support/register"],
            "env": {
                "DEBUG": "h5p*"
            },
            "outputCapture": "std",
            "console": "integratedTerminal"
        }
    ]
}