Open
Description
Describe the bug
The repl should not have debugger commands when it is not a debugger. Nevertheless:
Steps To Reproduce
co/nix » nix repl --debugger --expr 'builtins.break {meow = 2; }'
Nix 2.20.0pre20240124_dirty debugger
Type :? for help.
info: breakpoint reached
nix-repl> :c
Loading installable ''...
Added 1 variables.
nix-repl> :st
nix-repl> :env
Expected behavior
Debugger commands should disappear when not in a debugger context anymore.
nix-env --version
output
Additional context
Add any other context about the problem here.
Priorities
Add 👍 to issues you find important.