Skip to content

Commit

Permalink
println debug note
Browse files Browse the repository at this point in the history
  • Loading branch information
critesjosh committed Oct 23, 2024
1 parent 8892313 commit 84a132d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/docs/reference/developer_references/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ On this section you can learn how to debug your Aztec.nr smart contracts and com

You can log statements from Aztec.nr contracts that will show ups in the Sandbox.

:::info

The Noir standard library `std::println` function will not work in Aztec contracts. You must use the `debug_log` and `debug_log_format` defined below.

:::

### Import `debug_log`

Import the `debug_log` dependency from Aztec oracles:
Expand Down

0 comments on commit 84a132d

Please sign in to comment.