Skip to content

Commit e4f4be9

Browse files
committed
vscode(launch): offer to debug reacting to a snapshot build
The idea is that that the `upload-snapshot` workflow is triggered as soon as the last `git-artifacts-*` check run has completed. Let's make it easy on myself by taking an existing webhook event that was delivered and that ideally should have triggered all that, and then develop the relevant code leaning heavily on VS Code's debugger. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f9d770e commit e4f4be9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@
1414
},
1515
"console": "integratedTerminal"
1616
},
17+
{
18+
"type": "node",
19+
"request": "launch",
20+
"name": "Test event delivery",
21+
"runtimeArgs": [
22+
"--inspect-brk",
23+
],
24+
"stopOnEntry": false,
25+
"cwd": "${workspaceFolder}",
26+
"args": [
27+
"${workspaceFolder}/test-pr-comment-delivery.js",
28+
"${workspaceFolder}/example-check-run-git-artifacts-completed.yml",
29+
],
30+
"console": "integratedTerminal"
31+
},
1732
{
1833
"name": "Attach to Node Functions",
1934
"type": "node",

0 commit comments

Comments
 (0)