unity-builder/.vscode/launch.json

37 lines
1017 B
JSON

{
"configurations": [
{
"type": "node-terminal",
"request": "launch",
"name": "Launch Program",
"command": "ts-node -- ${workspaceFolder}/src/index.ts",
"cwd": "${workspaceFolder}",
"envFile": "${workspaceRoot}/.env",
"env": {
"UNITY_NOPROXY": "localhost,127.0.0.1"
}
},
{
"type": "node",
"request": "launch",
"name": "Debug Jest Test",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": [
"--collectCoverage=false",
"--colors",
"--config",
"${workspaceRoot}/jest.config.js",
"--runInBand",
"--runTestsByPath",
"${relativeFile}",
"--testPathPattern=${fileDirname}",
"--testTimeout=10000000"
],
"outputCapture": "std",
"internalConsoleOptions": "openOnSessionStart",
"envFile": "${workspaceRoot}/.env",
"skipFiles": ["${workspaceRoot}/../../node_modules/**/*", "<node_internals>/**/*"]
}
]
}