@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorAphlictManagementDebugWorkflow
4 extends PhabricatorAphlictManagementWorkflow {
5
6 protected function didConstruct() {
7 $this
8 ->setName('debug')
9 ->setSynopsis(
10 pht(
11 'Start the notifications server in the foreground and print large '.
12 'volumes of diagnostic information to the console.'))
13 ->setArguments($this->getLaunchArguments());
14 }
15
16 public function execute(PhutilArgumentParser $args) {
17 $this->parseLaunchArguments($args);
18
19 $this->setDebug(true);
20
21 $this->willLaunch();
22 return $this->launch();
23 }
24
25}