name: debugger-on-warn internalName: debuggerOnWarn type: bool default: false
If set to true and the --debugger flag is given, builtins.warn will enter the debugger like builtins.break.
This is useful for debugging warnings in third-party Nix code.
Use debugger-on-trace to also enter the debugger on legacy warnings that are logged with builtins.trace.