That was my solution to the same problem.
The xdebug configuration in php.ini is minimized.
php.ini:
[XDebug]
zend_extension = C:\Bitnami\wampstack-5.6.21-2\php\ext\php_xdebug.dll
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9001
xdebug.remote_autostart=0
xdebug.remote_connect_back=0
Project > Run configuration:
Project URL: http://127.0.0.1:9000/<ProjectName>/
Index File: index.php
> > PHP >
Debugger Port: 9001
Session ID: netbeans-xdebug
Maximum Data Length: 2048
uncheck all Checkboxes
, . , netbeans, , php.ini(xdebug-port) httpd (apache-port)
Server: 127.0.0.1:9000
XDebug: 127.0.0.1:9001
netbeans , Netbeans CTRL + F5 (Run Debug).