Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hint about debug profile #2040

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/content/docs/contributing/adding_pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ to make sure that your workflow passes all of the nf-core compatibility tests.
The automated tests on Github Actions also run this, so you should get a
notification from GitHub if something breaks.

When testing the pipeline you can add the `debug` profile (`-profile debug`) to the Nextflow command line,
to enable warnings about process selectors, show additional debug output and disable cleanup.

## Running with test data

Whilst the linting tests are good, they're not sufficient by themselves.
Expand Down
3 changes: 3 additions & 0 deletions src/content/docs/contributing/contributing_to_pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ If you're new to working with git, you can view the [GitHub pull requests docume

## Testing

You can optionally test your changes by running the pipeline locally. Then it is recommended to use the `debug` profile to
receive warnings about process selectors and other debug info. Example: `nextflow run . -profile debug,test,docker --outdir <OUTDIR>`.

When you create a pull request with changes, [GitHub Actions](https://github.com/features/actions) will run automatic tests.
Typically, pull-requests are only fully reviewed when these tests are passing, though of course, we can help out before then.

Expand Down