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
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
Комментариев нет:
Отправить комментарий