From cb2d2a38f93c286a5dd9f95ea423a41b5c3e3a65 Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 26 Jun 2025 13:17:27 -0700 Subject: [PATCH] improve codeflash debugging --- codeflash.code-workspace | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/codeflash.code-workspace b/codeflash.code-workspace index 7f62bcc77..67f000d35 100644 --- a/codeflash.code-workspace +++ b/codeflash.code-workspace @@ -10,13 +10,16 @@ } ], "settings": { - "python.defaultInterpreterPath": "~/miniforge3/envs/codeflash312/bin/python", "python.terminal.activateEnvironment": true, "python.testing.pytestEnabled": true, - "python.testing.pytestArgs": ["tests/", "-vv"], + "python.testing.pytestArgs": [ + "tests/", + "-vv", + "--ignore", + "tests/benchmarks/" + ], }, "launch": { - "version": "0.2.0", "configurations": [ { "name": "bubble_sort", @@ -62,19 +65,26 @@ }, }, { - "name": "bubble_sort --file bubble_sort.py (MBR)", + "name": "run codeflash in custom directory", "type": "debugpy", "request": "launch", "program": "${workspaceFolder:codeflash}/codeflash/main.py", "args": [ "--all", ], - "cwd": "/Users/krrt7/Desktop/work/my-best-repo", + "cwd": "${input:chooseCwd}", "console": "integratedTerminal", "env": { "PYTHONUNBUFFERED": "1" - }, + } + } + ], + "inputs": [ + { + "id": "chooseCwd", + "type": "promptString", + "description": "Enter the working directory for codeflash", } ] - } + }, } \ No newline at end of file