From 4cc12349b496629497439712bb8ee6fe1bd4f0ff Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Fri, 11 Jul 2025 13:28:58 -0400 Subject: [PATCH] Add launch.json for debugging --- .vscode/launch.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..e1514cc --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "isic-cli", + "type": "debugpy", + "request": "launch", + // VSCode doesn't directly support console_scripts, see + // https://stackoverflow.com/questions/61693769/vs-code-run-debug-configuration-for-a-console-script-in-module-mode + // https://github.com/microsoft/vscode-python/issues/8372#issuecomment-717911693 + "program": "${workspaceFolder}/isic_cli/cli/__main__.py", + "args": [ + "--dev", + "image", + "download", + "--limit", + "10", + "${workspaceFolder}/tempdir", + ], + "console": "integratedTerminal" + } + ] +}