Skip to content

Commit

Permalink
Merge pull request #111 from danger/debug-pr-command
Browse files Browse the repository at this point in the history
Add danger pr VSCode debug configuration #trivial
  • Loading branch information
orta authored Jan 25, 2017
2 parents e6a1ebd + b790f99 commit fb4a046
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 fb4a046

Please sign in to comment.