summaryrefslogtreecommitdiff
path: root/topics/using-pdb-to-troubleshoot.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'topics/using-pdb-to-troubleshoot.gmi')
-rw-r--r--topics/using-pdb-to-troubleshoot.gmi6
1 files changed, 6 insertions, 0 deletions
diff --git a/topics/using-pdb-to-troubleshoot.gmi b/topics/using-pdb-to-troubleshoot.gmi
index 4cfe616..294486f 100644
--- a/topics/using-pdb-to-troubleshoot.gmi
+++ b/topics/using-pdb-to-troubleshoot.gmi
@@ -116,6 +116,12 @@ the process, leading to the error above. Generally speaking, you **SHOULD NOT**
be running the debugger in production anyway, and therefore you should not need
to deal with the gunicorn issues.
+That said, you can start the Flask application under pdb with something like:
+
+```
+python3 -m pdb flask run [OPTIONAL-ARGUMENTS-TO-FLASK]
+```
+
## Useful Tutorials