1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Don’t disable xdebug when running in debug mode

This commit is contained in:
Matthew Brown 2017-06-06 22:53:36 -04:00
parent 1745518c2c
commit 90d0d12f6c

View File

@ -314,7 +314,9 @@ if ($path_to_config) {
}
// If XDebug is enabled, restart without it
(new \Composer\XdebugHandler(\Composer\Factory::createOutput()))->check();
if (!$debug) {
(new \Composer\XdebugHandler(\Composer\Factory::createOutput()))->check();
}
\Psalm\IssueBuffer::setStartTime(microtime(true));