GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Phase 2.7.1: Rename extension to PHP Debugger with full Xdebug compat by pronskiy · Pull Request #7 · php-debugger/php-debugger Conversation
Member
Phase 2.7.1: Extension RenameRenames the user-facing extension from "Xdebug" to "PHP Debugger" while maintaining full backward compatibility as a drop-in replacement. Changes (8 files, +178/-37)Extension identity:
INI dual-prefix:
Function aliases:
Trigger aliases:
Build system:
phpinfo:
Quality gate
LicenseXdebug license §3-4 requires derived products not use the "Xdebug" name. This rename satisfies that requirement while keeping full backward compatibility.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsAt RINIT, when a debug trigger is present, attempt TCP connect to the client before enabling ZEND_COMPILE_EXTENDED_STMT. If no client is listening (ECONNREFUSED), keep observer_active=0 and skip EXT_STMT. This eliminates ~2.3x overhead in the triggered-no-client scenario (e.g. XDEBUG_SESSION=1 but no IDE listening). The extension now stays dormant, matching the untriggered performance (~10% observer floor). Two-stage connection approach: 1. RINIT: TCP connect only (xdebug_early_connect_to_client) 2. First function call: DBGp handshake on the pre-opened socket Also fixes RINIT trigger check to respect start_with_request=no and XDEBUG_IGNORE, matching xdebug_debug_init_if_requested_at_startup behavior. Benchmark (build server, PHP 8.6.0-dev): - Vanilla: ~0.55s - Loaded, no trigger: ~0.56s (~0%) - Loaded, triggered, no client (before): ~1.63s (~2.3x) - Loaded, triggered, no client (after): ~0.55s (~0%) Test results: 54 fail (same as Phase 2 baseline, zero regressions). Phase 2.5: Deferred activation — connect before enabling EXT_STMT - Add windows-2022 job using php/[email protected] - Strip removed modules from config.w32 (coverage, develop, gcstats, profiler, tracing) - Add ip_info.c to debugger sources - Bump minimum PHP version to 8.2 in config.w32 Uh oh!
There was an error while loading. Please reload this page.
pronskiy
added a commit
that referenced
this pull request
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |