Add python snippet to insert ipdb breakpoint
This commit is contained in:
parent
08f3f8d38f
commit
07c093e9e0
@ -18,3 +18,7 @@ if __name__ == '__main__':
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
pass
|
pass
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet debug "Set ipdb breakpoint"
|
||||||
|
import ipdb; ipdb.set_trace()
|
||||||
|
endsnippet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user