Skip to content

Commit b505f61

Browse files
authored
Merge pull request #104 from ImageMarkup/add-vscode-launch-json
Add launch.json for debugging
2 parents 48b213c + 4cc1234 commit b505f61

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.vscode/launch.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "isic-cli",
6+
"type": "debugpy",
7+
"request": "launch",
8+
// VSCode doesn't directly support console_scripts, see
9+
// https://stackoverflow.com/questions/61693769/vs-code-run-debug-configuration-for-a-console-script-in-module-mode
10+
// https://github.com/microsoft/vscode-python/issues/8372#issuecomment-717911693
11+
"program": "${workspaceFolder}/isic_cli/cli/__main__.py",
12+
"args": [
13+
"--dev",
14+
"image",
15+
"download",
16+
"--limit",
17+
"10",
18+
"${workspaceFolder}/tempdir",
19+
],
20+
"console": "integratedTerminal"
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)