Merge pull request 'add ipdb to python breakpoint()' (#295) from Mic92-ipdb-breakpoint into main
This commit is contained in:
@@ -6,6 +6,7 @@ let
|
|||||||
++ clan-cli.devDependencies
|
++ clan-cli.devDependencies
|
||||||
++ [
|
++ [
|
||||||
ps.pip
|
ps.pip
|
||||||
|
ps.ipdb
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
checkScript = writeScriptBin "check" ''
|
checkScript = writeScriptBin "check" ''
|
||||||
@@ -23,6 +24,8 @@ mkShell {
|
|||||||
# evaluating the flake .#
|
# evaluating the flake .#
|
||||||
CLAN_OPTIONS_FILE = ./clan_cli/config/jsonschema/options.json;
|
CLAN_OPTIONS_FILE = ./clan_cli/config/jsonschema/options.json;
|
||||||
PYTHONPATH = "${pythonWithDeps}/${pythonWithDeps.sitePackages}";
|
PYTHONPATH = "${pythonWithDeps}/${pythonWithDeps.sitePackages}";
|
||||||
|
PYTHONBREAKPOINT = "ipdb.set_trace";
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
tmp_path=$(realpath ./.direnv)
|
tmp_path=$(realpath ./.direnv)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user