Skip to content
Snippets Groups Projects
Commit 2d053477 authored by hahn's avatar hahn
Browse files

task #4637 - show debug output in project settings > raw data

parent dc253a18
Branches
No related tags found
1 merge request!12AWX - handling leerer AWX felder
This commit is part of merge request !12. Comments created here will be created in the context of that merge request.
...@@ -3958,12 +3958,24 @@ class project extends base { ...@@ -3958,12 +3958,24 @@ class project extends base {
// -------------------------------------------------- // --------------------------------------------------
// Tab for raw data // Tab for raw data
// -------------------------------------------------- // --------------------------------------------------
$sRolloutDebug='<hr>DEBUG:<br>';
foreach (array_keys($this->getPhases()) as $sPhase) {
if ($this->isActivePhase($sPhase)){
$sRolloutDebug.='<strong>'.$sPhase.'</strong>'
. '<pre>Config = '.print_r($this->oRolloutPlugin->getConfig($sPhase), 1).'</pre>'
. '<pre>Commands = '.print_r($this->oRolloutPlugin->getDeployCommands($sPhase), 1).'</pre>'
;
}
}
$aForms["setup"]["form"]['input' . $i++] = array( $aForms["setup"]["form"]['input' . $i++] = array(
'type' => 'markup', 'type' => 'markup',
'value' => '</div>' 'value' => '</div>'
. '<div class="tab-pane" id="tab6">' . '<div class="tab-pane" id="tab6">'
. '<br><pre>'.print_r($this->_aPrjConfig, 1).'</pre>' . '<br><pre>'.print_r($this->_aPrjConfig, 1).'</pre>'
. $sRolloutDebug
. '</div>' . '</div>'
. '</div>' . '</div>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment