[Solved]netbeans shows “Waiting For Connection (netbeans-xdebug)”

Enviroment

XAMPP 1.8.2 + PHP: 5.4.31 + netbeans: 8.0.4  + Apache: 2.4.10 (Win32) + XDebug 2.2.3

Failed configuration with Error “Waiting For Connection (netbeans-xdebug)”

[Zend]
zend_extension = “D:\xampp182\php\ext\php_xdebug.dll”

[XDebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = “D:\xampp182\tmp”
xdebug.profiler_output_name = “cachegrind.out.%t-%s”
xdebug.remote_enable = 0
xdebug.remote_handler = “dbgp”
xdebug.remote_host = “127.0.0.1″
xdebug.remote_port=9900
xdebug.trace_output_dir = “D:\xampp182\tmp”

Working configuration 

[Zend]
zend_extension = “D:\xampp182\php\ext\php_xdebug.dll”

[XDebug]
xdebug.remote_autostart=on
xdebug.remote_enable = on
xdebug.remote_enable=1
xdebug.remote_mode=req
xdebug.idekey=”netbeans-xdebug”

xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = “D:\xampp182\tmp”
xdebug.profiler_output_name = “cachegrind.out.%t-%s”
xdebug.remote_handler = “dbgp”
xdebug.remote_host = “127.0.0.1″
xdebug.remote_port=9000
xdebug.trace_output_dir = “D:\xampp182\tmp”

Comments: I have not research each parameter and hope the difference can figure it out.

>> install phpunit for netbeans