0

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

3
  • It's always a good idea to specify what "several tutorials" you have tried to see 1) what they are telling to do 2) maybe provide another one. Right now I may only say: 1) confluence.jetbrains.com/display/PhpStorm/… 2) You may be just missing one of the steps in those tutorials that you have read -- your images do not reflect all the steps you did to start debugging. Commented Aug 16, 2017 at 10:20
  • Yes I used exactly same tutorial that you specify Commented Aug 16, 2017 at 10:22
  • jetbrains.com/phpstorm/documentation/debugging Commented Aug 16, 2017 at 10:34

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

6 Comments

what listener? where do I need to configure it?
see the screenshots, on your main toolbar there is a dropdown menu
yes I have edit configurations option, but do I need to do next?
see the first screenshot, i circled the arrow, let me add an extra few screenshots show exactly what to click
I tried ut my site isn't remotely situated, it is local website
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.