Article
Configure Xdebug in Eclipse PDT
Connect a current PDT PHP project to Xdebug without relying on obsolete Zend settings.
Separate PDT and Xdebug versions
Install a current Eclipse PDT package, set the project’s PHP language level, and install an Xdebug build compatible with the runtime. Historical PDT documentation may mention Zend Debugger or Xdebug 2 directives; use current Xdebug documentation for extension settings.
Define server and executable context
Configure the PHP executable or web server launch in PDT, select Xdebug, and align listener port and session behavior. Web and CLI launches can use different ini files, so verify each independently.
Remote path handling
A remote or container server sends its own file paths. Configure mappings against the imported PHP project and ensure linked resources resolve predictably. Test a plain file before a framework front controller.
Keep workspace state reproducible
Document PDT release, update sites, project PHP version, and required plugins. Commit only reviewed project settings; do not share an entire Eclipse workspace or credentials as a debugging shortcut.
Verification and maintenance
Configure Xdebug in Eclipse PDT was reviewed for this seed on 2026-08-09. Before adopting its recommendations, confirm current releases, platform support, licensing, extension publishers, and configuration syntax through Eclipse PDT at the official source linked below. Product status and plugin compatibility can change independently of this editorial record.
Test changes on a representative repository and keep Composer scripts, automated tests, static analysis, and version control authoritative. If official documentation no longer supports a claim made on /ide/eclipse-pdt/xdebug/, mark the fact unknown or update it from a primary source rather than filling the gap from an old tutorial or download mirror.
Related reading
- Best PHP IDEs and Editors in 2026 A requirements-led shortlist of current PHP IDEs and editors, with conservative feature claims.
- Best Free PHP IDEs and Editors Compare genuinely useful no-cost PHP environments without treating plugin-based support as built in.
- PHP IDEs for Windows Current Windows PHP choices for native, WSL, Docker, and remote workflows.
- PHP IDEs for Linux Choose a PHP environment for local Linux, containers, SSH servers, and low-resource desktops.
- PHP IDEs for macOS Select a PHP editor on macOS with attention to Apple Silicon, local runtimes, containers, and remote work.