diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-03-19 22:08:11 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2025-03-19 22:08:11 +0000 |
commit | 9a2cf6a69753bf642bf22dd6a73ef2bc3f6d6d4c (patch) | |
tree | 633ff4bb00edfe26866313810a32f79626556291 /tools | |
parent | dce8fe474d0a22856e7a3c6726005b08c2229a2b (diff) | |
download | wordpress-9a2cf6a69753bf642bf22dd6a73ef2bc3f6d6d4c.tar.gz wordpress-9a2cf6a69753bf642bf22dd6a73ef2bc3f6d6d4c.zip |
Build/Test Tools: Enable starting Xdebug with the PHP request in local environment.
This aims to facilitate setting up Xdebug locally without editing the `tools/local-env/php-config.ini` file, which is not ignored by Git by default.
Note that this does not enable Xdebug by default, since both `LOCAL_PHP_XDEBUG=true` and `LOCAL_PHP_XDEBUG_MODE=debug` are additionally required for Xdebug to work.
Props SirLouen, jules-colle, johnbillion, pento.
Fixes #49953.
git-svn-id: https://develop.svn.wordpress.org/trunk@60056 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'tools')
-rw-r--r-- | tools/local-env/php-config.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/local-env/php-config.ini b/tools/local-env/php-config.ini index ba5e544d77..491e162c21 100644 --- a/tools/local-env/php-config.ini +++ b/tools/local-env/php-config.ini @@ -2,3 +2,4 @@ display_errors = On error_reporting = -1 upload_max_filesize = 1G post_max_size = 1G +xdebug.start_with_request=yes |