Peanuts
2010-01-26 17:06:08 UTC
Hi there,
I have freshly installed the complete Netbeans IDE which includes support for PHP, C/C++ etc and am using XAMPP and XDebug. XP host machine.
I am trying to debug my web application, but when I start to debug, my FireFox browser attempts to open the following URL:
Code:
http://localhost/ProjectName/projectfile.php?XDEBUG_SESSION_START=netbeans-xdebug
But the page never loads.
Before I tried to make a web application, I made a PHP console script, and the debugger worked fine. I could step in, step out etc no problem.
Here is my php.ini settings for xdebug:
Code:
xdebug
xdebug support enabled
Version 2.0.6-dev
Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.125.2.7 $
GDB - GNU Debugger protocol $Revision: 1.87.2.1 $
PHP3 - PHP 3 Debugger protocol $Revision: 1.22 $
Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.idekey no value no value
xdebug.manual_url http://www.php.net http://www.php.net
xdebug.max_nesting_level 100 100
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir C:\xampp\tmp C:\xampp\tmp
xdebug.profiler_output_name xdebug_profile.%p xdebug_profile.%p
xdebug.remote_autostart Off Off
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log no value no value
xdebug.remote_mode req req
xdebug.remote_port 9000 9000
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir C:\xampp\tmp C:\xampp\tmp
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3
I'm really hoping someone can tell me how to fix this.
Please let me know if you need any other information.
Many thanks for reading my thread.
Peanuts :)
I have freshly installed the complete Netbeans IDE which includes support for PHP, C/C++ etc and am using XAMPP and XDebug. XP host machine.
I am trying to debug my web application, but when I start to debug, my FireFox browser attempts to open the following URL:
Code:
http://localhost/ProjectName/projectfile.php?XDEBUG_SESSION_START=netbeans-xdebug
But the page never loads.
Before I tried to make a web application, I made a PHP console script, and the debugger worked fine. I could step in, step out etc no problem.
Here is my php.ini settings for xdebug:
Code:
xdebug
xdebug support enabled
Version 2.0.6-dev
Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.125.2.7 $
GDB - GNU Debugger protocol $Revision: 1.87.2.1 $
PHP3 - PHP 3 Debugger protocol $Revision: 1.22 $
Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.idekey no value no value
xdebug.manual_url http://www.php.net http://www.php.net
xdebug.max_nesting_level 100 100
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir C:\xampp\tmp C:\xampp\tmp
xdebug.profiler_output_name xdebug_profile.%p xdebug_profile.%p
xdebug.remote_autostart Off Off
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log no value no value
xdebug.remote_mode req req
xdebug.remote_port 9000 9000
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir C:\xampp\tmp C:\xampp\tmp
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3
I'm really hoping someone can tell me how to fix this.
Please let me know if you need any other information.
Many thanks for reading my thread.
Peanuts :)