I'm using XAMPP to run a PHP application in Windows 8, using PHP v5.5.6
I've downloaded the php_xdebug*.dll
and placed it in C:\\xampp\\php\\ext\\
I've configured the [XDebug]
section in C:\\xampp\\php\\php.ini
like this:
[XDebug]
zend_extension=C:\xampp\php\ext\php_xdebug-2.2.7-5.5-vc11.dll
xdebug.remote_enable=true
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\ProgramData\phpDesigner\XDebugCache"
I've also configured the Prefferences->Debugger to use the C:\\xampp\\php\\php-cgi.exe
and the C:\\xampp\\php\\php.ini
But still I can not debug my code. When I click on the "Debug" button, nothing happens. If i go to Debug->Xdebug Server->Start, nothing happens.
What am I missing? Thanks.
Suppose that you have installed correctly you should go to Run -> Click Start listening for PHP connections
( or something like that ).
Now phpstorm is listening for connection. Go back to you browser and hit refresh. If everything was configured as it should ( btw have a look in preferences in phpstorm for xdebug, port and all others ) phpstorm should be able to catch the connection and give you the opportunity to step into lines ( F7, F8 )
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.