From d312e0de6cf963b5c9fd6c4639e5ab00da962070 Mon Sep 17 00:00:00 2001 From: Alex Dixon Date: Sun, 4 Aug 2024 17:04:51 -0700 Subject: [PATCH 1/2] add vscode launch config maybe easier for cursor/vscode users to have shared run configurations for the project --- .vscode/launch.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..4920001c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,28 @@ +{ + "configurations": [ + { + "name": "studio:server:dev", + "type": "python", + "request": "launch", + "module": "ell.studio", + "args": [ + "--storage-dir", + "${workspaceFolder}/sqlite_example", + "--dev" + ], + "justMyCode": false + }, + { + "type": "node", + "request": "launch", + "name": "studio:client:dev", + "runtimeExecutable": "npm", + "runtimeArgs": [ + "run", + "start:dev" + ], + "cwd": "${workspaceFolder}/ell-studio", + "console": "integratedTerminal" + } + ] +} \ No newline at end of file From b005d507d9ada219d057d7e923bf75d7246df3eb Mon Sep 17 00:00:00 2001 From: Alex Dixon Date: Sun, 4 Aug 2024 17:08:34 -0700 Subject: [PATCH 2/2] add vscode test settings --- .vscode/settings.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index eff6491d..2e2f2a76 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,5 +18,10 @@ "**/build": true }, "typescript.validate.enable": true, - "javascript.validate.enable": true + "javascript.validate.enable": true, + "python.testing.pytestArgs": [ + "tests" + ], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true } \ No newline at end of file