среда, 31 июля 2019 г.

суббота, 13 июля 2019 г.

my minimum steps to enable xdebug in ubuntu & phpstorm (locally)

1. install xdebug helper in Chrome-based browser
2. sudo apt-get install php7.2-xdebug
3. add these lines in <>:
xdebug.idekey=PHPSTORM
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
4. add in phpstorm settings Languages & Frameworks > PHP > Servers:

Name & Host: 127.0.0.1
Port 8000
4. set a breakpoint at reachable code line and start debugging