Hello community, here is the log from the commit of package php7-xdebug for openSUSE:Factory checked in at 2017-07-01 14:05:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php7-xdebug (Old) and /work/SRC/openSUSE:Factory/.php7-xdebug.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "php7-xdebug" Sat Jul 1 14:05:29 2017 rev:2 rq:507066 version:2.5.5 Changes: -------- New Changes file: --- /dev/null 2017-06-30 09:57:03.955002226 +0200 +++ /work/SRC/openSUSE:Factory/.php7-xdebug.new/php5-xdebug.changes 2017-07-01 14:05:30.960339911 +0200 @@ -0,0 +1,375 @@ +------------------------------------------------------------------- +Wed Jun 28 05:53:51 UTC 2017 - jengelh@inai.de + +- Trim some redundant pharse parts from the description. + +------------------------------------------------------------------- +Tue Jun 27 14:28:35 UTC 2017 - jweberhofer@weberhofer.at + +- Updated to Xdebug 2.5.5 + Fixed bugs + * #1439: TYPE_CHECK needs overloading due to smart branches + * #1444: Code Coverage misses a variable in a multi-line function call + * #1446: Code Coverage misses elseif if it uses an isset with a property + +------------------------------------------------------------------- +Mon May 15 13:43:34 UTC 2017 - jweberhofer@weberhofer.at + +- Updated to Xdebug 2.5.4 + Fixed bugs + * #799: Function traces report base class instead of object name + * #1421: Fix set_time_limit hanging on PHP 5.6 when pcntl_exec does not exist (Frode E. Moe) + * #1429: Code coverage does not cover null coalesce + * #1434: Code coverage segfaults on 32-bit arch + +- Updated to Xdebug 2.5.3 + Fixed bug + * #1421: Xdebug crashes when it is loaded without pcntl being present + +- Updated to Xdebug 2.5.2 + fixed bugs + * #701: Functions as array indexes show ??? in trace + * #1403: Code coverage does not cover BIND_STATIC + * #1404: Execution time is calculated incorrectly + * #1413: Code coverage mishap with PHP 7.1.3 + * #1414: Missing variable assignment in traces with OPcache loaded + * #1415: Crash with multiple catch constructs with OPcache loaded + * #1416: Trace files should not include the first result + of a generator if it hasn't started yet + * #1417: Fetching properties of static class contexts fails due + to incorrect fetch mode + * #1419: Summary not written when script ended with "pcntl_exec()" + +------------------------------------------------------------------- +Tue Apr 18 06:34:41 UTC 2017 - jweberhofer@weberhofer.at + +- License is in fact a PHP 3.0 license; productnames and author has + been changed to match the xdebug product. + +------------------------------------------------------------------- +Thu Mar 30 11:36:28 UTC 2017 - jweberhofer@weberhofer.at + +- Clearified license + +------------------------------------------------------------------- +Fri Mar 17 16:20:38 UTC 2017 - jweberhofer@weberhofer.at + +- Updated to Xdebug 2.5.1 + + Fixes: + * #1057: Add xdebug.ini of all settings to package + * #1165: DBGp: step_out skips subsequent function calls + * #1180: Code coverage crashes with non-standard start/stops + * #1278: Xdebug with PHP 7 does not handle prefill-from-oparray + for XDEBUG_CC_UNUSED + * #1300: Xdebug functions are not exposing their signature to Reflection + * #1313: Arguments to __call() trampoline picked from the wrong memory + location + * #1329: While printing out a stack with and function parameters, + XDebug reads uninitialized zvals or free()d memory + * #1381: Code Coverage misses line due to missing FETCH_DIM_W overload + * #1385: can not fetch IS_INDIRECT properties + * #1386: Executable code not shown as executed/executable + * #1392: Unable to compile on FreeBSD due to missing struct definition + * #1394: Code coverage does not cover instanceof (in elseif) + +------------------------------------------------------------------- +Sun Jan 29 06:05:21 UTC 2017 - jweberhofer@weberhofer.at + +- Provide php-xdebug as a parallel installation of php5 and php7 is not possible + +------------------------------------------------------------------- +Tue Dec 13 23:22:04 UTC 2016 - jweberhofer@weberhofer.at + +- Updated to Xdebug 2.5.0 + + Support for PHP versions lower than PHP 5.5 has been dropped + + Improvements: + * #1232: add memory delta to HTML traces + * #1365: Allow remote_connect_back to be set through XDEBUG_CONFIG + * #998: Added support for IPv6 (Thomas Vanhaniemi) + * #1297: Initial PHP 7.1 support + + Fixes: + * #1168: Added defensive check to prevent infinite loop + * #1242: Xdebug on Windows with Eclipse has issues with breakpoint IDs + * #1343: Wrong values of numerical keys outside 32bit range + * #1357: Function signature using variadics is reported as being not executed + * #1361: Remote debugging connection issues with Windows (Anatol Belski) + * #1373: Crash in zend_hash_apply_with_arguments when debugging, due to unset symbol table + * #1295: Apache crashes (SIGSEGV) when trying to establish connection when sockfd is large + * #1303: POLLRDHUP is not supported outside of Gnu/Linux + * #1331: Segfault in code coverage + +- Updated to Xdebug 2.4.1 + Fixes: + * #1106: A thrown Exception after a class with __debugInfo gives 2 errors + * #1241: FAST_CALL/FAST_RET take #2 + * #1246: Path and branch coverage should be initialised per request, not globally + * #1263: Code coverage segmentation fault with opcache enabled + * #1277: Crash when using a userland function from RSHUTDOWN with profiling enabled + * #1282: var_dump() of integers > 32 bit is broken on Windows + * #1288: Segfault when uncaught exception message does not contain " in " + * #1291: Debugclient installation fails on Mac OS X + * #1326: Tracing and generators crashes with PHP 7.x. + * #1333: Profiler accesses memory structures after freeing + +------------------------------------------------------------------- +Tue Mar 8 07:39:06 UTC 2016 - danimo@owncloud.com + +- XDebug 2.4.0, ported to php7 + +------------------------------------------------------------------- +Fri Jan 29 09:25:25 UTC 2016 - pgajdos@suse.com + +- provides php-xdebug symbol + +------------------------------------------------------------------- +Tue Jan 12 13:30:51 UTC 2016 - pgajdos@suse.com + +- remove _service + +------------------------------------------------------------------- +Thu Jul 2 21:07:59 UTC 2015 - cobexer@gmail.com + +- reference the upstream xdebug.ini file directly using the package version + +------------------------------------------------------------------- +Wed Jul 1 13:39:20 UTC 2015 - jweberhofer@weberhofer.at + +- Update to Xdebug 2.3.3 +- Fixed bugs + * #1130: Escaping issues with docrefs and HTML characters in error messages + * #1133: PDO exception code value type is changed + * #1137: Windows does not support %zu formatting for sprintf + * #1140: Tracing with __debugInfo() crashes Xdebug due to a stack overflow + * #1148: Can't disable max_nesting_function + * #1151: Crash when another extension calls call_user_function() during RINIT + * Fixed crash with code coverage (Antony Dovgal) + * Fixed usage of virtual_file_ex and STR_FREE (Remi Collet) + * Reset overloaded opcodes at the end of each request (Eran Ifrah) + +- Improvements + * #686: Not possible to inspect SplObjectStorage instances with Xdebug + * #864: No attributes are shown if an object extends ArrayIterator + * #996: Can't evaluate property of class that extends ArrayObject + * #1134: Allow introspection of ArrayObject implementation's internal storage + * Get rid of setlocale hack, by using %F instead of %f (and speed up tracing + * by 15-20%) + +------------------------------------------------------------------- +Mon Jun 8 11:43:39 UTC 2015 - jweberhofer@weberhofer.at + +- Use version specific ini file instead of master's. + +------------------------------------------------------------------- +Mon Jun 1 11:13:54 UTC 2015 - jweberhofer@weberhofer.at + +- Included upstream xdebug.ini file + + +- Update to Xdebug 2.3.2 + + * Fixed bug #1117: Path/branch coverage sometimes crashes + * Fixed bug #1121: Segfaults with path/branch coverage + +- Xdebug 2.3.1 + * Fixed bug #1112: Setting an invalid xdebug.trace_format causes Xdebug to + crash + * Fixed bug #1113: xdebug.*_trigger do no longer work, due to NULL not being + an empty string + +- Xdebug 2.3.0 + * Fixed bug #932: Added an error message in case the remote debug log + couldn't be opened + * Fixed bug #982: Incorrect file paths in exception stack trace + * Fixed bug #1094: Segmentation fault when attempting to use branch/path + coverage + * Fixed bug #1101: Debugger is not triggered on xdebug_break() in JIT mode + * Fixed bug #1102: Stop Xdebug from crashing when debugging PHP Code with + "php -r". + * Fixed bug #1103: XDEBUG_SESSION_STOP_NO_EXEC only stops first script + executed with auto_prepend|append_files + * Fixed bug #1104: One character non-public properties cause issues with + debugging + * Fixed bug #1105: Setting properties without specifying a type only works in + topmost frame (Dominik del Bondio) ++++ 178 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.php7-xdebug.new/php5-xdebug.changes --- /work/SRC/openSUSE:Factory/php7-xdebug/php7-xdebug.changes 2017-04-20 20:57:42.470626810 +0200 +++ /work/SRC/openSUSE:Factory/.php7-xdebug.new/php7-xdebug.changes 2017-07-01 14:05:31.924204280 +0200 @@ -1,0 +2,42 @@ +Wed Jun 28 05:53:51 UTC 2017 - jengelh@inai.de + +- Trim some redundant pharse parts from the description. + +------------------------------------------------------------------- +Tue Jun 27 14:28:35 UTC 2017 - jweberhofer@weberhofer.at + +- Updated to Xdebug 2.5.5 + Fixed bugs + * #1439: TYPE_CHECK needs overloading due to smart branches + * #1444: Code Coverage misses a variable in a multi-line function call + * #1446: Code Coverage misses elseif if it uses an isset with a property + +------------------------------------------------------------------- +Mon May 15 13:43:34 UTC 2017 - jweberhofer@weberhofer.at + +- Updated to Xdebug 2.5.4 + Fixed bugs + * #799: Function traces report base class instead of object name + * #1421: Fix set_time_limit hanging on PHP 5.6 when pcntl_exec does not exist (Frode E. Moe) + * #1429: Code coverage does not cover null coalesce + * #1434: Code coverage segfaults on 32-bit arch + +- Updated to Xdebug 2.5.3 + Fixed bug + * #1421: Xdebug crashes when it is loaded without pcntl being present + +- Updated to Xdebug 2.5.2 + fixed bugs + * #701: Functions as array indexes show ??? in trace + * #1403: Code coverage does not cover BIND_STATIC + * #1404: Execution time is calculated incorrectly + * #1413: Code coverage mishap with PHP 7.1.3 + * #1414: Missing variable assignment in traces with OPcache loaded + * #1415: Crash with multiple catch constructs with OPcache loaded + * #1416: Trace files should not include the first result + of a generator if it hasn't started yet + * #1417: Fetching properties of static class contexts fails due + to incorrect fetch mode + * #1419: Summary not written when script ended with "pcntl_exec()" + +------------------------------------------------------------------- Old: ---- xdebug-2.5.1.tgz New: ---- php5-xdebug.changes php5-xdebug.spec xdebug-2.5.5.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php5-xdebug.spec ++++++ # # spec file for package php5-xdebug # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define php_name php5 %define pkg_name xdebug %define ini_version 2_5_5 Name: php5-%{pkg_name} Version: 2.5.5 Release: 0 Summary: Extended PHP debugger License: PHP-3.0 Group: Productivity/Networking/Web/Servers Url: https://xdebug.org/ Source: https://xdebug.org/files/%{pkg_name}-%{version}.tgz Source1: https://raw.githubusercontent.com/%{pkg_name}/%{pkg_name}/XDEBUG_%{ini_version}/xdebug.ini BuildRequires: %{php_name} >= 5.5 BuildRequires: %{php_name}-devel >= 5.5 BuildRequires: %{php_name}-soap Provides: php-%{pkg_name} = %{version} Obsoletes: php-%{pkg_name} < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?php_zend_api}0 Requires: php(api) = %{php_core_api} Requires: php(zend-abi) = %{php_zend_api} %else %requires_eq %{php_name} %endif %description The Xdebug extension helps debugging scripts by providing a lot of debug information, which includes: * stack and function traces in error messages with: o full parameter display for user defined functions o function name, file name and line indications o support for member functions * memory allocation * protection for infinite recursions * profiling information for PHP scripts * script execution analysis * capabilities to debug your scripts interactively with a debug client %prep %setup -q -n %{pkg_name}-%{version} mkdir %{name} install -m 644 %{SOURCE1} xdebug.ini %build %{_bindir}/phpize pushd %{name} export CFLAGS="%{optflags}" ../configure --enable-xdebug sed -i -e 's|PHP_EXECUTABLE = %{_bindir}/php-cgi|PHP_EXECUTABLE = %{_bindir}/php|' Makefile make %{?_smp_mflags} popd sed -i -e "s|; This is a generated file, do not modify by hand|zend_extension = \"%{_libdir}/%{php_name}/extensions/xdebug.so\"|g" xdebug.ini %install make DESTDIR=%{buildroot} install %{?_smp_mflags} -C %{name} INSTALL_ROOT=%{buildroot} mkdir -p %{buildroot}%{_sysconfdir}/%{php_name}/conf.d install -m 644 xdebug.ini %{buildroot}%{_sysconfdir}/%{php_name}/conf.d/xdebug.ini %check # only check if the extension can be loaded %{_bindir}/php \ --no-php-ini \ --define zend_extension=%{buildroot}%{_libdir}/%{php_name}/extensions/xdebug.so \ --modules | grep Xdebug if [ -x %{_bindir}/zts-php ] ; then %{_bindir}/zts-php \ --no-php-ini \ --define zend_extension=%{buildroot}%{_libdir}/%{php_name}/extensions/xdebug.so \ --modules | grep Xdebug fi %files %defattr(-,root,root,-) %{_libdir}/%{php_name}/extensions/xdebug.so %config(noreplace) %{_sysconfdir}/%{php_name}/conf.d/xdebug.ini %doc LICENSE CREDITS %changelog ++++++ php7-xdebug.spec ++++++ --- /var/tmp/diff_new_pack.gMJY7H/_old 2017-07-01 14:05:32.924063582 +0200 +++ /var/tmp/diff_new_pack.gMJY7H/_new 2017-07-01 14:05:32.928063020 +0200 @@ -18,9 +18,9 @@ %define php_name php7 %define pkg_name xdebug -%define ini_version 2_5_0 +%define ini_version 2_5_5 Name: php7-%{pkg_name} -Version: 2.5.1 +Version: 2.5.5 Release: 0 Summary: Extended PHP debugger License: PHP-3.0 @@ -42,9 +42,8 @@ %endif %description -The Xdebug extension helps you debugging your script by providing a lot of -valuable debug information. The debug information that Xdebug can provide -includes the following: +The Xdebug extension helps debugging scripts by providing a lot of +debug information, which includes: * stack and function traces in error messages with: o full parameter display for user defined functions @@ -52,15 +51,10 @@ o support for member functions * memory allocation * protection for infinite recursions - -Xdebug also provides: - * profiling information for PHP scripts * script execution analysis * capabilities to debug your scripts interactively with a debug client -This product includes Xdebug, freely available from http://xdebug.org/ - %prep %setup -q -n %{pkg_name}-%{version} mkdir %{name} ++++++ xdebug-2.5.1.tgz -> xdebug-2.5.5.tgz ++++++ ++++ 75284 lines of diff (skipped) ++++++ xdebug.ini ++++++ --- /var/tmp/diff_new_pack.gMJY7H/_old 2017-07-01 14:05:33.180027564 +0200 +++ /var/tmp/diff_new_pack.gMJY7H/_new 2017-07-01 14:05:33.208023624 +0200 @@ -9,7 +9,7 @@ ; just before the script is run. This makes it possible to trace code in the ; auto_prepend_file [1]. ; -; [1] http://www.php.net/manual/en/configuration.directives.php#ini.auto-prepend-f... +; [1] http://php.net/manual/en/ini.core.php#ini.auto-prepend-file ; ; ;xdebug.auto_trace = 0 @@ -176,7 +176,7 @@ ; seven settings control which data from the superglobals is shown when an error ; situation occurs. ; -; Each of those php.ini setting can consist of a comma separated list of +; Each of those php.ini setting can consist of a comma seperated list of ; variables from this superglobal to dump, or ``*`` for all of them. Make sure ; you do not add spaces in this setting. ; @@ -273,7 +273,8 @@ ; ; about:config ; -; - Add a new boolean setting "network.protocol-handler.expose.xdebug" +; - Add a new boolean setting "network.protocol-handler.expose.xdebug" and set +; it to "false" ; ; - Add the following into a shell script ; @@ -284,12 +285,14 @@ ; f=`echo $1 | cut -d @ -f 1 | sed 's/xdebug:\/\///'` ; l=`echo $1 | cut -d @ -f 2` ; -; Add to that one of (depending whether you have komodo or gvim): +; Add to that one of (depending whether you have komodo, gvim or netbeans): ; ; - komodo $f -l $l ; ; - gvim --remote-tab +$l $f ; +; - netbeans "$f:$l" +; ; - Make the script executable with ; ; chmod +x ~/bin/ff-xdebug.sh @@ -400,6 +403,7 @@ ; the warning of strlen() (without arguments) to an error, you would do: ; ; ini_set('xdebug.halt_level', E_WARNING); +; strlen(); ; echo "Hi!\n"; ; ; Which will then result in the showing of the error message, and the abortion @@ -447,34 +451,65 @@ ; ----------------------------------------------------------------------------- ; xdebug.max_nesting_level ; -; Type: integer, Default value: 100 +; Type: integer, Default value: 256 ; ; Controls the protection mechanism for infinite recursion protection. The value ; of this setting is the maximum level of nested functions that are allowed ; before the script will be aborted. ; +; Before Xdebug 2.3, the default value was ``100``. +; ; -;xdebug.max_nesting_level = 100 +;xdebug.max_nesting_level = 256 + +; ----------------------------------------------------------------------------- +; xdebug.max_stack_frames +; +; Only in Xdebug versions >= 2.3 +; +; Type: integer, Default value: -1 +; +; Controls how many stack frames are shown in stack traces, both on the command +; line during PHP error stack traces, as well as in the browser for HTML traces. +; +; +;xdebug.max_stack_frames = -1 ; ----------------------------------------------------------------------------- ; xdebug.overload_var_dump ; ; Only in Xdebug versions > 2.1 ; -; Type: boolean, Default value: 1 +; Type: boolean, Default value: 2 ; ; By default Xdebug overloads var_dump() with its own improved version for -; displaying variables when the html_errors php.ini setting is set to 1. In case -; you do not want that, you can set this setting to 0, but check first if it's -; not smarter to turn off html_errors. +; displaying variables when the html_errors php.ini setting is set to ``1`` or +; ``2``. In case you do not want that, you can set this setting to ``0``, but +; check first if it's not smarter to turn off html_errors. ; ; You can also use ``2`` as value for this setting. Besides formatting the ; var_dump() output nicely, it will also add filename and line number to the ; output. The xdebug.file_link_format setting is also respected. *(New in Xdebug ; 2.3)* ; +; Before Xdebug 2.4, the default value of this setting was ``1``. +; +; +;xdebug.overload_var_dump = 2 + +; ----------------------------------------------------------------------------- +; xdebug.profiler_aggregate +; +; Type: integer, Default value: 0 +; +; When this setting is set to 1, a single profiler file will be written for +; multiple requests. One can surf to multiple pages or reload a page to get an +; **average** across all requests. The file will be named +; ``.cachegrind.aggregate``. You will need to move this file to get another +; round of aggregate data. ; -;xdebug.overload_var_dump = 1 +; +;xdebug.profiler_aggregate = 0 ; ----------------------------------------------------------------------------- ; xdebug.profiler_append @@ -482,7 +517,7 @@ ; Type: integer, Default value: 0 ; ; When this setting is set to 1, profiler files will not be overwritten when a -; new request would map to the same file (depnding on the +; new request would map to the same file (depending on the ; xdebug.profiler_output_name setting. Instead the file will be appended to with ; the new profile. ; @@ -512,12 +547,29 @@ ; files by using the XDEBUG_PROFILE GET/POST parameter, or set a cookie with the ; name XDEBUG_PROFILE. This will then write the profiler data to defined ; directory. In order to prevent the profiler to generate profile files for each -; request, you need to set xdebug.profiler_enable to 0. +; request, you need to set xdebug.profiler_enable to 0. Access to the trigger +; itself can be configured through xdebug.profiler_enable_trigger_value. ; ; ;xdebug.profiler_enable_trigger = 0 ; ----------------------------------------------------------------------------- +; xdebug.profiler_enable_trigger_value +; +; Only in Xdebug versions > 2.3 +; +; Type: string, Default value: "" +; +; This setting can be used to restrict who can make use of the XDEBUG_PROFILE +; functionality as outlined in xdebug.profiler_enable_trigger. When changed from +; its default value of an empty string, the value of the cookie, GET or POST +; argument needs to match the shared secret set with this setting in order for +; the profiler to start. +; +; +;xdebug.profiler_enable_trigger_value = "" + +; ----------------------------------------------------------------------------- ; xdebug.profiler_output_dir ; ; Type: string, Default value: /tmp @@ -545,6 +597,22 @@ ;xdebug.profiler_output_name = cachegrind.out.%p ; ----------------------------------------------------------------------------- +; xdebug.remote_addr_header +; +; Only in Xdebug versions > 2.4 +; +; Type: string, Default value: "" +; +; If xdebug.remote_addr_header is configured to be a non-empty string, then the +; value is used as key in the $SERVER superglobal array to determine which +; header to use to find the IP address or hostname to use for 'connecting back +; to'. This setting is only used in combination with xdebug.remote_connect_back +; and is otherwise ignored. +; +; +;xdebug.remote_addr_header = "" + +; ----------------------------------------------------------------------------- ; xdebug.remote_autostart ; ; Type: boolean, Default value: 0 @@ -566,9 +634,18 @@ ; ; If enabled, the xdebug.remote_host setting is ignored and Xdebug will try to ; connect to the client that made the HTTP request. It checks the -; $_SERVER['REMOTE_ADDR'] variable to find out which IP address to use. Please -; note that there is **no** filter available, and anybody who can connect to the -; webserver will then be able to start a debugging session, even if their +; $_SERVER['HTTP_X_FORWARDED_FOR'] and $_SERVER['REMOTE_ADDR'] variables to find +; out which IP address to use. +; +; If xdebug.remote_addr_header is configured, then the $SERVER variable with the +; configured name will be checked before the $_SERVER['HTTP_X_FORWARDED_FOR'] +; and $_SERVER['REMOTE_ADDR'] variables. +; +; This setting does not apply for debugging through the CLI, as the $SERVER +; header variables are not available there. +; +; Please note that there is **no** filter available, and anybody who can connect +; to the webserver will then be able to start a debugging session, even if their ; address does not match xdebug.remote_host. ; ; @@ -693,12 +770,26 @@ ;xdebug.scream = 0 ; ----------------------------------------------------------------------------- +; xdebug.show_error_trace +; +; Type: integer, Default value: 0 +; +; When this setting is set to 1, Xdebug will show a stack trace whenever an +; Error is raised - even if this Error is actually caught. +; +; +;xdebug.show_error_trace = 0 + +; ----------------------------------------------------------------------------- ; xdebug.show_exception_trace ; ; Type: integer, Default value: 0 ; ; When this setting is set to 1, Xdebug will show a stack trace whenever an -; exception is raised - even if this exception is actually caught. +; Exception or Error is raised - even if this Exception or Error is actually +; caught. +; +; Error 'exceptions' were introduced in PHP 7. ; ; ;xdebug.show_exception_trace = 0 @@ -740,12 +831,29 @@ ; by using the XDEBUG_TRACE GET/POST parameter, or set a cookie with the name ; XDEBUG_TRACE. This will then write the trace data to defined directory. In ; order to prevent Xdebug to generate trace files for each request, you need to -; set xdebug.auto_trace to 0. +; set xdebug.auto_trace to 0. Access to the trigger itself can be configured +; through xdebug.trace_enable_trigger_value. ; ; ;xdebug.trace_enable_trigger = 0 ; ----------------------------------------------------------------------------- +; xdebug.trace_enable_trigger_value +; +; Only in Xdebug versions > 2.3 +; +; Type: string, Default value: "" +; +; This setting can be used to restrict who can make use of the XDEBUG_TRACE +; functionality as outlined in xdebug.trace_enable_trigger. When changed from +; its default value of an empty string, the value of the cookie, GET or POST +; argument needs to match the shared secret set with this setting in order for +; the trace file to be generated. +; +; +;xdebug.trace_enable_trigger_value = "" + +; ----------------------------------------------------------------------------- ; xdebug.trace_format ; ; Type: integer, Default value: 0