debug
for debug> debug {flags}
--raw, -r
: Prints the raw value representationinput | output |
---|---|
any | string |
list<any> | list<string> |
table | list<string> |
Debug print a string
>'hello'|debug
hello
Debug print a list
> ['hello'] |debug
╭───┬───────╮
│0│hello│
╰───┴───────╯
Debug print a table
> [[versionpatch]; ['0.1.0'false] ['0.1.1'true] ['0.2.0'false]] |debug
╭───┬────────────────────────────────╮
│0│ {version:0.1.0, patch:false} │
│1│ {version:0.1.1, patch:true} │
│2│ {version:0.2.0, patch:false} │
╰───┴────────────────────────────────╯
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/debug.html