Discussion:
Cannot debug PHP using Netbeans 8 on Windows 7
Leonhard Rauwolf
2014-10-15 23:32:59 UTC
Permalink
Question: What do I need to do to get the Netbeans debugger to recognize/break in PHP?

Status:
Javascript debugs just fine. I can put breakpoints in the PHP code; the code executes (verified by output to error_log), but the debugger doesn't stop either at the top of the PHP code or at the breakpoints.

Configuration:
PHP project using Netbeans 8.0.1 on Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

The project is in C:\Users\Admin\Documents\My Web Sites\DF (not in the NetbeansProjects folder).

The project is configured to use the "PHP Built-in webserver (running on built-in webserver)".

The entire PHPInfo() output is attached as a text file, but key php.ini entries are
zend_extension = "C:\Program Files (x86)\iis express\PHP\v5.5\ext\php_xdebug-2.2.5-5.5-vc11-nts.dll"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000

Some older pages say the the dll sb assigned to zend_extension_ts, but that appears to be out of date.




Attachments:
http://forums.netbeans.org//files/phpinfo_840.txt

Loading...