Adding a debug mode to the worker so you can see what commands are being run.
This commit is contained in:
parent
068598d124
commit
3c74ca2281
3 changed files with 22 additions and 2 deletions
|
|
@ -90,6 +90,10 @@ abstract class BaseCommandExecutor implements CommandExecutor
|
|||
|
||||
$pipes = array();
|
||||
|
||||
if (defined('PHPCI_DEBUG_MODE')) {
|
||||
$this->logger->logDebug($command);
|
||||
}
|
||||
|
||||
$process = proc_open($command, $descriptorSpec, $pipes, $this->buildPath, null);
|
||||
|
||||
if (is_resource($process)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue