Docs

@debug

You can troubleshoot your script by placing the @debug syntax inside of it. When Nota sees the @debug syntax, it will start showing toasts with extra information.

For example, putting @debug in your custom command will show a toast containing the stdout output of the command. For stderr, the app will show an error dialog message even if the @debug syntax is missing.

Example, my-custom-command.sh:

#!/bin/bash
# @debug
# @parameters file
# ...your failing code here