I am trying to use Xdebug in combination with NetBeans to debug my PHP code.
And it is already working as expected when setting a xdebug_break() statement within my code, i.e. the execution stops at the line after it.
Though it does not work when I set a breakpoint for a line within the NetBeans UI.
My configuration looks like this:
Programs:
- NetBeans 8.1
- Xdebug 2.4.1 (Thread Safe, 64-bit)
- PHP 5.6.26 (Thread Safe, 64-bit)
Configuration:
php.ini
zend_extension="C:\Program Files\PHP\ext\php_xdebug-2.4.1-5.6-vc11-x86_64.dll"
[xdebug]
xdebug.remote_enable = On
xdebug.idekey = NetBeans
xdebug.remote_port = 9001
xdebug.var_display_max_children = 1024
NetBeans:
So, why does xdebug_break() work but not the breakpoints?



XDEBUG_SESSION_START=NetBeansas parameter. - Sebastian Zartner