|Re: Can we debug php code in eclipse helios??? [message #1388443 is a reply to message #1388425]
||Thu, 26 June 2014 09:07
| Mike Bonhoff
Registered: August 2013
I think I have found out what is the problem. Windows needs a php executable (which is unnecessary for the normal use of php programming because it is a scripting language and you use the xampp (apache etc.) to run it. |
But in debugger mode you need that php.exe. You find it in xampp\php\php.exe. And you can specify this php.exe via Window->Preferences->PHP->PHP Executables by Adding this file as Executable path.
But now I have a different mistake after starting the debugging process (I use Zend now - by the way):
Error launching 'test_debugger'
The debug session could not be started. Please make sure that the debugger is properly configured as a php.ini directive.
In the php.ini (which is also in xampp\php) I commented in the line
under (there a 2 such lines but I think this is the right one). Now it still doesn't work even after restarting my apache web server. There is still the above mentioned mistake.
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
Powered by FUDForum
. Page generated in 0.01823 seconds