Skip to content

Commit 8975bf5

Browse files
committed
vscode: add a debug configuration to test individual feeds
In #54 an issue was identified where the Action seemed to take a ridiculously long time to process a given feed URL. This new debug configuration makes it easy to single-step through the code while accessing that feed. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 20c13c2 commit 8975bf5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.vscode/launch.json

+21
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,27 @@
2323
"NODE_ENV": "development"
2424
},
2525
"console": "integratedTerminal"
26+
},
27+
{
28+
"name": "Dry-Run",
29+
"type": "node",
30+
"request": "launch",
31+
"runtimeArgs": [
32+
"--inspect-brk",
33+
],
34+
"args": [
35+
"${workspaceRoot}/index.js",
36+
],
37+
"stopOnEntry": false,
38+
"cwd": "${workspaceFolder}",
39+
"env": {
40+
"NODE_ENV": "development",
41+
"INPUT_DRY-RUN": "true",
42+
"INPUT_FEED": "https://lizardbyte.github.io/feed.xml",
43+
"INPUT_MAX-AGE": "120h",
44+
"INPUT_GITHUB-TOKEN": "",
45+
},
46+
"console": "integratedTerminal"
2647
}
2748
]
2849
}

0 commit comments

Comments
 (0)