diff options
author | Pjotr Prins | 2023-12-03 09:43:06 -0600 |
---|---|---|
committer | Pjotr Prins | 2023-12-03 09:43:06 -0600 |
commit | aa3d310aa257f0ef0a8636272883c3c4e6855a1c (patch) | |
tree | 9ac85bf43abd92f897dc801e7515daaff5232120 /topics/pudb/using-pudb.gmi | |
parent | f63f9df201c3ae57ad8b52cf5127995c82944be7 (diff) | |
download | gn-gemtext-aa3d310aa257f0ef0a8636272883c3c4e6855a1c.tar.gz |
Moving files
Diffstat (limited to 'topics/pudb/using-pudb.gmi')
-rw-r--r-- | topics/pudb/using-pudb.gmi | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/topics/pudb/using-pudb.gmi b/topics/pudb/using-pudb.gmi deleted file mode 100644 index 7cac743..0000000 --- a/topics/pudb/using-pudb.gmi +++ /dev/null @@ -1,26 +0,0 @@ -# Using pudb - -## Setting Breakpoints - -You can add the following line anywhere in your code to start a pudb breakpoint: - -``` -import pudb; pudb.set_trace() -``` - -You can also press `b` in pudb to add a breakpoint with a keyboard shortcut. - -## pdb and pudb API similarity - -The standard pdb docs should work for pudb with one small exception. - -> At the programming language level, PuDB displays the same interface -> as Python’s built-in pdb module. Just replace pdb with pudb. (One -> exception: run is called runstatement.) - -=> https://docs.python.org/3/library/pdb.html?highlight=pdb#module-pdb - -## Tags - -* type: documentation -* keywords: pudb |