Yii3 - How to start

Comparing #55 with #56

Revision #56 was created by rackycz rackycz on Apr 25, 2026, 9:11:46 AM.

xdebug

Content

[...]
XDEBUG_CONFIG="client_host=host.docker.internal start_with_request=yes"
```

Method `xdebug_info()` will still show `xdebug.mode=develop`, but `Step Debugger` will be `enabled`.

>  You can ehnhance it by appending `idekey`, but IDE setup then may require you to specify the host (localhost:80) and set "path mapping" so that your local project-folder is mapped to "/app". All is done via IDE configuration. > ```
 
>
 
> `
XDEBUG_CONFIG="client_host=host.docker.internal start_with_request=yes idekey=yii3debug` ```>

If you want to see correct value `xdebug.mode` in `xdebug_info()`, or generally configure xdebug via `xdebug.ini`, do this:

docker/dev/xdebug.ini:
```
[...]