pass debugging through to spawned child processes

This commit is contained in:
Mike Macgirvin 2023-08-19 09:12:40 +10:00
parent e4368bab90
commit fa5e444e97
2 changed files with 2 additions and 1 deletions

View file

@ -72,6 +72,7 @@ class Run
return;
}
putenv('XDEBUG_SESSION=true');
logger('Run: release: ' . print_r($argv, true), LOGGER_ALL, LOG_DEBUG);
$className = '\\Code\\Daemon\\' . $argv[0];
$daemon = new $className();

View file

@ -309,7 +309,7 @@ class Enotify
$thr_parent = array_key_exists('item', $params)
? $params['item']['thr_parent']
: $params['parent_mid'];
// Check to see if there was already a notification for this post.
// If so don't create a second notification