PHPStorm debugging issues
I've been trying to figure out PHPStorm debugging for a while now, and really struggling :-S
What Im trying to do is setup a simple project and add a breakpoint. From my understanding I first need to setup the built-in web server, and then once started I can add a 'PHP Web Application' to it and then it should attach, but I can never get it working :-S
https://1drv.ms/v/s!Akl9iu
Can anyone look at the attached video and see what Im doing wrong and please tell me before I completly loose the plot.
Thanks in advance
请先登录再写评论。
It's better not to use Run/Debug configurations, I suggest that you use zero-configuration debugging instead:
https://confluence.jetbrains.com/display/PhpStorm/Zero-configuration+Web+Application+Debugging+with+Zend+Debugger+and+PhpStorm
Do exactly what you were doing before 1:02, enter some simple code, put a breakpoint there, enable listening for incoming connections in PhpStorm.
Then, open the page in a browser via Browser Icon (the upper right Editor corner).
Create debug bookmarklets according to this, enable the Start Debugger cookie and reload the page.
A window should come up in PhpStorm asking about mappings.
If it doesn't happen, please show us your php.ini [Xdebug] section.