Skip to content

Commit f5c45f8

Browse files
bmaxfelixfbecker
authored andcommitted
docs(contributing): document how to use XDebug (#518)
1 parent b03b9a2 commit f5c45f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,9 @@ Lint with
201201
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:
202202

203203
composer run-script parse-stubs
204+
205+
To debug with xDebug ensure that you have this set as an environment variable
206+
207+
COMPOSER_ALLOW_XDEBUG=1
208+
209+
This tells the Language Server to not restart without XDebug if it detects that XDebug is enabled (XDebug has a high performance impact).

0 commit comments

Comments
 (0)