debug
The debug directive prints the standard output of each task to the pipeline standard output.
For example:
process hello {
debug true
script:
"""
echo Hello
"""
}
Prints:
Hello
Removing the debug directive or setting it to false in the above example will cause Hello to not be printed.