Merge pull request #350 from r-darwish/python-debuggers

Add snippets for all major Python debuggers
This commit is contained in:
Andrea Crotti 2019-10-30 11:04:56 +00:00 committed by GitHub
commit fd92455b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: ipdb trace
# key: itr
# key: ipdb
# group: debug
# --
import ipdb; ipdb.set_trace()

6
snippets/python-mode/pdb Normal file
View File

@ -0,0 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: pdb trace
# key: pdb
# group: debug
# --
import pdb; pdb.set_trace()

View File

@ -0,0 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: pudb trace
# key: pudb
# group: debug
# --
import pudb; pu.db

View File

@ -1,6 +0,0 @@
# -*- mode: snippet -*-
# name: trace
# key: tr
# group: debug
# --
import pdb; pdb.set_trace()