From 452bb7c21d05a5d35220ddedc5c2e311364bfe51 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Fri, 31 Oct 2025 11:41:01 +0100 Subject: add some stuff for python and debugging --- .pdbrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .pdbrc (limited to '.pdbrc') diff --git a/.pdbrc b/.pdbrc new file mode 100644 index 0000000..29f017d --- /dev/null +++ b/.pdbrc @@ -0,0 +1,7 @@ +alias edit import os; os.system(f"$EDITOR {$_frame.f_code.co_filename} +{$_frame.f_lineno}") +alias e edit +alias s step ;; edit +alias n next ;; edit +alias r return ;; edit +alias c continue ;; edit +alias f import subprocess as sub; import json; sub.run("jq | :f", shell=True, input=json.dumps(%1).encode()) -- cgit v1.2.3