Today I try to enable debugging of PHP with Netbeans on the windows platform. For this reason I’ve downloaded the thread safe version of xdebug and placed it in my extension directory, in my case C:\easyphp3\php\ext
As explained in “Introducing xdebug” to activate it I added the following in my php.ini
zend_extension_ts=${path}\php\ext\php_xdebug-2.0.4-5.2.8.dll
xdebug.remote_enable=1
After restarting apache, my phpinfo() now confirms me that xdebug is enabled.
From Netbeans if the current project is set as Main, you can choose Debug > Debug Main Project, or press Ctrl-F5, or click the debug icon.
At this point I can place breakpoints, watches and so on with the familiar Netbeans debugger interface.



