I am running Zend Server 5.6.0 which is PHP 5.4 and I am using PhpStorm 5.0. I am looking to put some profiling and debugging in place.
I have configured everything that I can see in PhpStorm, when I run the debug from the IDE it runs the script, then displays Connection with 'Zend Debugger' was not established. Validate Installation
.
I have installed the toolbar but whenever I try to debug a page in Firefox it actually pops up with a download window and the file downloads, when opened it displays a server error.
All of the help guides online dont seem to work, has anyone else has these issues?
I ended up using Xdebug:
phpinfo()
contents into the boxzend_extension = C:\Zend\ZendServer\lib\phpext\php_xdebug-2.2.1-5.4-vc9-nts.dll
to the top!, put this below the iOnCube
Loader (if you have it installed)php.ini
then restart PHP & Apache.php.ini
[XDebug]
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.profiler_enable=0
xdebug.profiler_output_dir="C:\Zend\ZendServer\tmp\xdebug-profiler"
[..]
and choose Debugger
: Xdebug
[+]
to add a configuration and choose PHP Remote Debug
Xdebug
and use the IDE key PHPSTORM
You can now stop through code in PhpStorm, hope this helps someone