1
0
Fork 0

docs(contributing): document how to use XDebug (#518)

pull/527/head
Brandon Max 2017-11-09 19:15:36 -05:00 committed by Felix Becker
parent b03b9a239c
commit f5c45f83ed
1 changed files with 6 additions and 0 deletions

View File

@ -201,3 +201,9 @@ Lint with
The project parses PHPStorm's PHP stubs to get support for PHP builtins. It re-parses them as needed after Composer processes, but after some code changes (such as ones involving the index or parsing) you may have to explicitly re-parse them: The project parses PHPStorm's PHP stubs to get support for PHP builtins. It re-parses them as needed after Composer processes, but after some code changes (such as ones involving the index or parsing) you may have to explicitly re-parse them:
composer run-script parse-stubs composer run-script parse-stubs
To debug with xDebug ensure that you have this set as an environment variable
COMPOSER_ALLOW_XDEBUG=1
This tells the Language Server to not restart without XDebug if it detects that XDebug is enabled (XDebug has a high performance impact).