Skip to content

Commit fd92455

Browse files
authored
Merge pull request #350 from r-darwish/python-debuggers
Add snippets for all major Python debuggers
2 parents a340200 + d861e37 commit fd92455

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet; require-final-newline: nil -*-
22
# name: ipdb trace
3-
# key: itr
3+
# key: ipdb
44
# group: debug
55
# --
66
import ipdb; ipdb.set_trace()

snippets/python-mode/pdb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# -*- mode: snippet; require-final-newline: nil -*-
2+
# name: pdb trace
3+
# key: pdb
4+
# group: debug
5+
# --
6+
import pdb; pdb.set_trace()

snippets/python-mode/pudb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# -*- mode: snippet; require-final-newline: nil -*-
2+
# name: pudb trace
3+
# key: pudb
4+
# group: debug
5+
# --
6+
import pudb; pu.db

snippets/python-mode/trace

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)