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