From f8becf3250b3fee4e1290ae624fb83a3b0fe05ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Tue, 21 May 2024 11:22:49 +0100 Subject: [PATCH] chore: changed launch structure to make it more .venv friendly --- .vscode/launch.json | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index a3aa346..f320fab 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,22 +4,10 @@ "name": "Python", "type": "debugpy", "request": "launch", - "python": "python", - "program": "${workspaceRoot}/src/budy/main.py", + "module": "budy.main", "justMyCode": false, "env": { - "PYTHONPATH": "${workspaceRoot}/src:{env.PYTHONPATH}", - "OMNI_BOT_ENABLED": "0" - } - }, { - "name": "Python3", - "type": "debugpy", - "request": "launch", - "python": "python3", - "program": "${workspaceRoot}/src/budy/main.py", - "justMyCode": false, - "env": { - "PYTHONPATH": "${workspaceRoot}/src:{env.PYTHONPATH}", + "PYTHONPATH": "src", "OMNI_BOT_ENABLED": "0" } }]