You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($allowXdebug && !XdebugHandler::isXdebugActive()) {
103
+
$errorOutput->getStyle()->note('You are running with "--xdebug" enabled, but the Xdebug PHP extension is not active. The process will not halt at breakpoints.');
$errorOutput->getStyle()->note('The Xdebug PHP extension is active, but "--xdebug" is not used. This may slow down performance and the process will not halt at breakpoints.');
106
+
}
107
+
108
+
if (!$allowXdebug) {
109
+
$xdebug = newXdebugHandler('phpstan');
110
+
$xdebug->setPersistent();
111
+
$xdebug->check();
112
+
unset($xdebug);
113
+
}
114
+
108
115
if ($memoryLimit !== null) {
109
116
if (Strings::match($memoryLimit, '#^-?\d+[kMG]?$#i') === null) {
110
117
$errorOutput->writeLineFormatted(sprintf('Invalid memory limit format "%s".', $memoryLimit));
0 commit comments