From 8a4a2bc00289c9ff6bb987b0903306245ddbf2f9 Mon Sep 17 00:00:00 2001 From: gry Date: Tue, 28 Aug 2018 08:54:49 +0200 Subject: [PATCH] Make pdb default debugger (in favor of pdb++ if exists) --- UltiSnips/python.snippets | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/UltiSnips/python.snippets b/UltiSnips/python.snippets index fa7075d..6d8101a 100644 --- a/UltiSnips/python.snippets +++ b/UltiSnips/python.snippets @@ -1,13 +1,13 @@ snippet dbg "IPython Debugger abbrv" !b -import ipdb; ipdb.set_trace() +__import__('pdb').set_trace() endsnippet -snippet rdbg "Remote ipdb abbrv" !b -import ripdb; ripdb.set_trace() +snippet ripdb "Remote ipdb abbrv" !b +__import__('ripdb').set_trace() endsnippet -snippet pdb "pdb abbrv" !b -import pdb; pdb.set_trace() +snippet ipdb "pdb abbrv" !b +__import__('ipdb').set_trace() endsnippet snippet docmodule "Doc module" !b