mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Enter debugger on builtins.trace
with an option
This commit is contained in:
parent
1ba9780cf5
commit
8b7eb7400b
2 changed files with 7 additions and 0 deletions
|
@ -127,6 +127,9 @@ struct EvalSettings : Config
|
|||
|
||||
Setting<unsigned int> maxCallDepth{this, 10000, "max-call-depth",
|
||||
"The maximum function call depth to allow before erroring."};
|
||||
|
||||
Setting<bool> builtinsTraceDebugger{this, false, "builtins-trace-debugger",
|
||||
"Whether to enter the debugger on `builtins.trace` calls."};
|
||||
};
|
||||
|
||||
extern EvalSettings evalSettings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue