🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #231510

problem z xdebug

#231510
From: jivanmukta
Date: Wed, 18 Jan 2017 15:35
87 lines
4096 bytes
Debuggowanie w netbeans mi działało dobrze. Jednak ostatnio netbeans przestał się zatrzymywać na pułapkach. Szukając rozwiązania zauważyłem że ustawienia w php.ini nie są uwzględnianiane w phpinfo, a restartowanie (sudo apache2ctl restart) nie pomaga:

W php.ini mam:

[xdebug]
zend_extension="/usr/lib/php5/20121212+lfs/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_handler=DBGp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.max_nesting_level=300
xdebug.remote_log="/var/log/xdebug.log"
xdebug.idekey="netbeans-xdebug"

W phpinfo mam:

xdebug
xdebug support	enabled
Version 	2.4.1
IDE Key 	netbeans-xdebug
Supported protocols	Revision
DBGp - Common DeBuGger Protocol 	$Revision: 1.145 $
Directive	Local Value	Master Value
xdebug.auto_trace	Off	Off
xdebug.cli_color	0	0
xdebug.collect_assignments	Off	Off
xdebug.collect_includes	On	On
xdebug.collect_params	0	0
xdebug.collect_return	Off	Off
xdebug.collect_vars	Off	Off
xdebug.coverage_enable	On	On
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.file_link_format	no value	no value
xdebug.force_display_errors	Off	Off
xdebug.force_error_reporting	0	0
xdebug.halt_level	0	0
xdebug.idekey	no value	no value
xdebug.max_nesting_level	256	256
xdebug.max_stack_frames	-1	-1
xdebug.overload_var_dump	2	2
xdebug.profiler_aggregate	Off	Off
xdebug.profiler_append	Off	Off
xdebug.profiler_enable	Off	Off
xdebug.profiler_enable_trigger	Off	Off
xdebug.profiler_enable_trigger_value	no value	no value
xdebug.profiler_output_dir	/tmp	/tmp
xdebug.profiler_output_name	cachegrind.out.%p	cachegrind.out.%p
xdebug.remote_addr_header	no value	no value
xdebug.remote_autostart	Off	Off
xdebug.remote_connect_back	Off	Off
xdebug.remote_cookie_expire_time	3600	3600
xdebug.remote_enable	Off	Off
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.scream	Off	Off
xdebug.show_error_trace	Off	Off
xdebug.show_exception_trace	Off	Off
xdebug.show_local_vars	Off	Off
xdebug.show_mem_delta	Off	Off
xdebug.trace_enable_trigger	Off	Off
xdebug.trace_enable_trigger_value	no value	no value
xdebug.trace_format	0	0
xdebug.trace_options	0	0
xdebug.trace_output_dir	/tmp	/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

Co z tym zrobić? Byłbym wdzięczny za pomoc. Tak jak mówiłem debugowanie działało a nic w ustawieniach nie zmieniałem.
Technical Details
Message-ID: <abb2f357-af65-4502-be12-256226d0abb6@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.glorb.com!r185no177816ita.0!news-out.google.com!78ni3881itm.0!nntp.google.com!r185no172190ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Received: by 10.157.11.98 with SMTP id p31mr1031012otd.33.1484753729838;        Wed, 18 Jan 2017 07:35:29 -0800 (PST)
X-Received: by 10.157.34.34 with SMTP id o31mr398347ota.13.1484753729798; Wed, 18 Jan 2017 07:35:29 -0800 (PST)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!news.glorb.com!r185no177816ita.0!news-out.google.com!78ni3881itm.0!nntp.google.com!r185no172190ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.php
Date: Wed, 18 Jan 2017 07:35:29 -0800 (PST)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.72.99.243; posting-account=Y8V58QoAAACtLuF8lEt8MaiUjYUTCWP6
NNTP-Posting-Host: 89.72.99.243
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <abb2f357-af65-4502-be12-256226d0abb6@googlegroups.com>
Subject: problem z xdebug
From: jivanmukta@poczta.onet.pl
Injection-Date: Wed, 18 Jan 2017 15:35:29 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit