Hey helps people!
Some time ago I installed xdebug and had some problems with it working, but I did.
Now I tried to start debugging again, but that didn't work.
If I call php -meither phpinfo()through a browser, it tells me that xdebug is loaded.
But when I run phpinfo () as phpscript from Eclipse, it does not load.
Also adding a type string xdebug_break(), it will tell me
PHP Fatal error: function call undefined xdebug_break () in / home / andy / public _html / phpDebugTest / console.php on line 3
I found out that php is being called from Eclipse with different include-paths, but I added the same as from php.ini to the project.
Thank you very much for your help!
source
share