Skip to content

Commit

Permalink
Add danger pr VSCode debug configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
macklinu committed Jan 25, 2017
1 parent e6a1ebd commit b790f99
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@
"outFiles": [
"${workspaceRoot}/distribution"
]
},
{
"name": "Launch Local",
}, {
"name": "Launch PR",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/source/commands/danger-local.js",
"program": "${workspaceRoot}/distribution/commands/danger-pr.js",
"stopOnEntry": false,
"args": [],
"args": [
// pass a GitHub PR URL below for testing
],
"envFile": "${workspaceRoot}/env/development.env",
"cwd": "${workspaceRoot}",
"preLaunchTask": "build",
"runtimeExecutable": null,
Expand All @@ -42,8 +44,8 @@
"console": "internalConsole",
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/distribution"
],
"${workspaceRoot}/distribution/**/*.js"
]
}, {
"name": "Run Tests With Debugger (slower, use npm run watch for normal work)",
"type": "node",
Expand Down

0 comments on commit b790f99

Please sign in to comment.