Skip to content

Commit 2dd8bf4

Browse files
templedunglas
authored andcommitted
Added XDEBUG_SESSION=1 to console instruction enabling xdebug
'Debug' concept is widely understood as the way xdebug step-debugging runs, so there is an explicit need to use XDEBUG_SESSION in order to enable step-debugging. Otherwise it seems not to work, cause providing `XDEBUG_MODE=debug` is not enough if using the api-platform distribution on its release v3.3.7 (which is the latest currently)
1 parent ed227aa commit 2dd8bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For development purposes such as debugging tests or remote API requests,
1010
To enable it, run:
1111

1212
```console
13-
XDEBUG_MODE=debug docker compose up --wait
13+
XDEBUG_MODE=debug XDEBUG_SESSION=1 docker compose up --wait
1414
```
1515

1616
## Using Xdebug with PhpStorm

0 commit comments

Comments
 (0)