R
R
Ruslan Absalyamov2019-03-02 11:39:28
xdebug
Ruslan Absalyamov, 2019-03-02 11:39:28

How to set up phpStorm to get xdebug working?

yii2 framework, can't configure xdebug
I configured like this. I put the port and other settings in /etc/php/7.2/mods-available/xdebug.ini

zend_extension=xdebug.so

xdebug.remote_autostart = 1
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_log = /tmp/xdebug_remote.log
xdebug.remote_mode = req
xdebug.remote_port = 9000

Then I made the php settings in phpStorme I configured the
5c7a4069f1922381653713.png
port in phpStorme for debug
5c7a4099b9964121798049.png
And I configured the configuration
5c7a40f190e6f481406440.png
And I get html page output in the console
5c7a412c49749234690253.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question