phacility/phabricator · error · PhutilArgumentUsageException
You must specify which daemon to debug.
Error message
You must specify which daemon to debug.
What it means
Error "You must specify which daemon to debug." thrown in phacility/phabricator.
Source
Thrown at src/applications/daemon/management/PhabricatorDaemonManagementDebugWorkflow.php:45
'help' => pht('Maximum pool size.'),
'default' => 1,
),
array(
'name' => 'as-current-user',
'help' => pht(
'Run the daemon as the current user '.
'instead of the configured %s',
'phd.user'),
),
));
}
public function execute(PhutilArgumentParser $args) {
$argv = $args->getArg('argv');
$run_as_current_user = $args->getArg('as-current-user');
if (!$argv) {
throw new PhutilArgumentUsageException(
pht('You must specify which daemon to debug.'));
}
$config = array(
'class' => array_shift($argv),
'label' => 'debug',
'pool' => (int)$args->getArg('pool'),
'argv' => $argv,
);
return $this->launchDaemons(
array(
$config,
),
$is_debug = true,
$run_as_current_user);
}
View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/daemon/management/PhabricatorDaemonManagementDebugWorkflow.php:45 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21).
Data as JSON: /api/errors/93042895d60d963a.
Report an issue: GitHub.