Skip to content

Commit

Permalink
Added XDEBUG_SESSION=1 to console instruction enabling xdebug
Browse files Browse the repository at this point in the history
'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)
  • Loading branch information
temple authored and dunglas committed Sep 28, 2024
1 parent ed227aa commit 2dd8bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ For development purposes such as debugging tests or remote API requests,
To enable it, run:

```console
XDEBUG_MODE=debug docker compose up --wait
XDEBUG_MODE=debug XDEBUG_SESSION=1 docker compose up --wait
```

## Using Xdebug with PhpStorm
Expand Down

0 comments on commit 2dd8bf4

Please sign in to comment.