rick1
rick1

Reputation: 946

How to configure xdebug in PhpStorm?

I read several tutorials in the internet but without success. I configured xdebug in my php.ini file like this:

zend_extension=/usr/lib/php/20131226/xdebug.so
xdebug.remote_enable=true
xdebug.remote_port=9000
xdebug.profiler_enable=1
xdebug.profiler_output_dir=/tmp

enter image description here

I have following PhpStorm settings:

enter image description here

I put following breakpoint but it won't work if I reload page

enter image description here

Upvotes: 0

Views: 120

Answers (1)

DarkMukke
DarkMukke

Reputation: 2489

You have to add a listener to PhpStorm

enter image description here enter image description here enter image description here

And then you will have a debug tab on the bottom

enter image description here enter image description here

Upvotes: 1

Related Questions