Skip to content

Commit

Permalink
Update docs/language/operators/debug.md
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Rzewski <[email protected]>
  • Loading branch information
mattnibs and philrz authored Aug 6, 2024
1 parent ceb594a commit 879a9d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/language/operators/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ debug [ <expr> ]
```
### Description

The `debug` operator write the value of `expr` to the debug channel. If no
`expr` is provided `this` is written to the debug channel. If the query is
ran on command line via `zq` or `zed` all output written to the debug
The `debug` operator writes the value of `expr` to the debug channel. If no
`expr` is provided, `this` is written to the debug channel. If the query is
run on the command line via `zq` or `zed` all output written to the debug
channel is displayed on stderr.

The `debug` operator is useful to view intermediate values as part of
workflow when debugging complex zed query.
The `debug` operator is useful to view intermediate values when debugging a
complex Zed query.

### Examples

Expand Down

0 comments on commit 879a9d4

Please sign in to comment.