From 5fdda885e526d1443504f4d5253f133356ab2e5d Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Tue, 24 Dec 2024 11:21:26 +1100 Subject: [PATCH] Add launch.json for debugging from vscode --- launch.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 launch.json diff --git a/launch.json b/launch.json new file mode 100644 index 0000000..89277fb --- /dev/null +++ b/launch.json @@ -0,0 +1,18 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Python: Flask", + "type": "python", + "request": "launch", + "module": "flask", + "env": { + "FLASK_APP": "app", // Replace 'app' with the entry point module of your app + "FLASK_ENV": "development" + }, + "args": ["run"], + "jinja": true, + "justMyCode": true + } + ] +}