From a8ba56de63113b3763a95078ecf549878e3290aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 15 Sep 2023 13:44:47 +0200 Subject: [PATCH] add ipdb to python breakpoint() --- pkgs/clan-cli/shell.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/clan-cli/shell.nix b/pkgs/clan-cli/shell.nix index 336b2f03c..f0ff0d7d0 100644 --- a/pkgs/clan-cli/shell.nix +++ b/pkgs/clan-cli/shell.nix @@ -6,6 +6,7 @@ let ++ clan-cli.devDependencies ++ [ ps.pip + ps.ipdb ] ); checkScript = writeScriptBin "check" '' @@ -23,6 +24,8 @@ mkShell { # evaluating the flake .# CLAN_OPTIONS_FILE = ./clan_cli/config/jsonschema/options.json; PYTHONPATH = "${pythonWithDeps}/${pythonWithDeps.sitePackages}"; + PYTHONBREAKPOINT = "ipdb.set_trace"; + shellHook = '' tmp_path=$(realpath ./.direnv)