
With a debugger you can set breakpoints, step through code, watch variables, do a stack trace, and much, much more. If you have Apache port configured to some other port instead 80 you should append that port address along with localhost or 127.0.0.1.When I debug code, I find that a debugger is a very powerful tool.

#WAITING FOR CONNECTION NETBEANS XDEBUG WINDOWS#
I have uninstalled mcafee and turned off windows defender. I run netstat -o -n -a | findstr 127.0.0.1:9000Īnd gotten the following. More information thanks to the comment left by skomisa. My request in the browser hangs until I close process "Waiting for Connection (netbeans-xdebug)" and then loads normally. Referer: User-Agent: Mozilla/5.0 (Windows NT 10.0 Win64 圆4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/.108 Safari/537.36Ĭontent-Security-Policy: script-src 'self' blob: filesystem: chrome-extension-resource: object-src 'self' blob: filesystem: Let me know if you need more information.Īddition: In netbeans I can see my requests coming into my network monitor.Įxample: Request URL: chrome-extension://cajoopobkbcpiniljegibngikdbidbkh/special.js In Tools > Options > PHP > Debugging I have the following set > Debugger Port: 9000 I have Debugger Proxy: Host localhost Port: 9000 Project properties > Runconfiguration I have the following set > Run As: Local Web Site > "C:\xampp\tmp" xdebug.remote_log = "c:\xampp\php\logs\xdebug.log" > xdebug.remote_connect_back = 0 ace_output_dir = > xdebug.remote_port = 9000 xdebug.remote_autostart = 0

> xdebug.remote_handler = dbgp xdebug.remote_host = 127.0.0.1 > xdebug.extended_info = on xdebug.remote_enable = 1 In my php.ini I have added the following > zend_extension = C:\xampp\php\ext\php_xdebug-2.6. > xdebug.var_display_max_data 512 512 xdebug.var_display_max_depth 3 3 > xdebug.var_display_max_children 128 128 > ace_output_dir C:\xampp\tmp C:\xampp\tmp

> ace_enable_trigger_value no value no value > xdebug.show_local_vars Off Off xdebug.show_mem_delta Off Off > xdebug.show_error_trace Off Off xdebug.show_exception_trace Off Off > xdebug.remote_timeout 200 200 xdebug.scream Off Off > xdebug.remote_mode req req xdebug.remote_port 9000 9000 > xdebug.remote_log c:\xampp\php\logs\xdebug.log c:\xampp\php\logs\xdebug.log > xdebug.remote_cookie_expire_time 3600 3600 xdebug.remote_enable On On > xdebug.remote_autostart Off Off xdebug.remote_connect_back Off Off > xdebug.remote_addr_header no value no value > xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p > xdebug.profiler_output_dir C:\Windows\Temp C:\Windows\Temp > xdebug.profiler_enable_trigger_value no value no value > xdebug.profiler_append Off Off xdebug.profiler_enable Off Off > xdebug.overload_var_dump 2 2 xdebug.profiler_aggregate Off Off > xdebug.max_nesting_level 256 256 xdebug.max_stack_frames -1 -1 > xdebug.halt_level 0 0 xdebug.idekey netbeans-xdebug netbeans-xdebug > xdebug.force_display_errors Off Off xdebug.force_error_reporting 0 0 > xdebug.filename_format no value no value > xdebug.extended_info On On xdebug.file_link_format no value no value

> xdebug.dump_once On On xdebug.dump_undefined Off Off > value no value no value xdebug.dump_globals On On > llect_assignments Off Off llect_includes On On > Protocol $Revision: 1.145 $ Directive Local Value Master Value > Supported protocols Revision DBGp - Common DeBuGger In phpinfo I can see the following > xdebug xdebug support enabled Version 2.6.0beta1 IDE Key mysession When I run my debugger I get a never ending status of “Waiting For Connection (netbeans-xdebug)”. Can't seem to get netbeans to stop at my breakpoints.
