Co-authored-by: Emilia Bopp <contact@ebopp.de> Change-Id: I5e20304538dd3e27fb36c32c0a6133cd6a6a6964
13 lines
323 B
Plaintext
13 lines
323 B
Plaintext
@args --debugger --option debugger-on-warn true
|
|
Enter debugger with debugger-on-warn set.
|
|
|
|
nix-repl> let inspect = v: builtins.warn "inspect is deprecated" (throw "this happens after"); in inspect { }
|
|
|
|
warning: inspect is deprecated!
|
|
warning: builtins.warn reached!
|
|
|
|
nix-repl> :c
|
|
|
|
{ }
|
|
error: this happens after
|