Allow showing debug information

Migrated issue

Reported by: fjgarlin

Related to !45 (merged)

Problem/Motivation

The parent issue removed all debug information which can be helpful in many cases, especially when working on certain MRs or issues.

Steps to reproduce

We no longer have debug information in any MR.

Proposed resolution

Options could be:
- To redact certain information from an output dump. ie: export | sed ...
- To add a DEBUG variable, turned off by default, to control this. The code could be as simple as [[ DEBUG == "1" ]] && export || true

Remaining tasks

MR

User interface changes

API changes

Data model changes

Related issue: Issue #3388079

Edited by drupalbot