GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xdebug/xdebug: Xdebug — Step Debugger and Debugging Aid for PHP

BranchesTags
Open more actions menu

Latest commit

 

History

6,518 Commits
6,518 Commits

Folders and files

NameName
Last commit message
Last commit date
.azure
.azure
 
 
.build.scripts
.build.scripts
 
 
.circleci
.circleci
 
 
.github
.github
 
 
.xdebugci
.xdebugci
 
 
contrib
contrib
 
 
m4
m4
 
 
src
src
 
 
tests
tests
 
 
.azure-pipelines.yml
.azure-pipelines.yml
 
 
.dockerignore
.dockerignore
 
 
.gdbinit
.gdbinit
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.rst
CONTRIBUTING.rst
 
 
CREDITS
CREDITS
 
 
LICENSE
LICENSE
 
 
Makefile.frag
Makefile.frag
 
 
README.rst
README.rst
 
 
RELEASE_PROCESS.rst
RELEASE_PROCESS.rst
 
 
composer.json
composer.json
 
 
config.m4
config.m4
 
 
config.w32
config.w32
 
 
package.xml
package.xml
 
 
php_xdebug.h
php_xdebug.h
 
 
php_xdebug.stub.php
php_xdebug.stub.php
 
 
php_xdebug_arginfo.h
php_xdebug_arginfo.h
 
 
rebuild.sh
rebuild.sh
 
 
run-xdebug-tests.php
run-xdebug-tests.php
 
 
template.rc
template.rc
 
 
xdebug.c
xdebug.c
 
 
xdebug.ini
xdebug.ini
 
 

Repository files navigation

Xdebug

https://circleci.com/gh/xdebug/xdebug/tree/master.svg?style=svg

Xdebug is a debugging tool for PHP. It provides step-debugging and a whole range of development helpers, such as stack traces, a code profiler, features to dump the full execution of your script to a file, and more.

Repography logo / Recent activity Time period

Timeline graph Pull request status graph Trending topics Top contributors

Requirements

Xdebug requires a supported version of PHP. For installation it requires the pie tool, unless your Linux distribution has an Xdebug package (most often: php-xdebug).

Installation

On most Linux distributions you can install Xdebug through their package manager.

You can also install Xdebug on Linux, macOS, and Windows, with the PIE installer through pie install xdebug/xdebug.

For more extensive installation instructions, see the documentation at https://xdebug.org/docs/install

Configuration

Most features in Xdebug have to be opted in into. Each feature has a specific opt-in. For example to use the step debugger you need to set xdebug.remote_enable=1 in your configuration file. The step debugger requires an IDE (client), of which there are many available.

The documentation has instructions for each of Xdebug's features: https://xdebug.org/docs/ and a full list of settings is also available there.

Contributing

Xdebug is written in C, and extensive knowledge of PHP's internals is necessary to be able to contribute. Contributing guidance is available separately.

Before you begin to contribute, please reach out first. Either through email (address at the bottom), an issue in the issue tracker or preferably through IRC on Freenode's #xdebug channel.

Testing

If you are familiar with compiling PHP extension from source, have a local checkout of Xdebug's GitHub repository, and have compiled Xdebug in that directory following the instructions under installation you can run Xdebug's tests by running:

php run-xdebug-tests.php

The test framework requires that the PHP binary on the path has Xdebug loaded, with remote debugging enabled through xdebug.mode=debug. It is possible to skip remote debugging tests by exporting the SKIP_DBGP_TESTS=1 environment variable.

The SKIP_UNPARALLEL_TESTS=1 can be used to skip tests that can not run in parallel environments, and the SKIP_SLOW_TESTS=1 environment variable to skip slow tests. The OPCACHE environment variable can either be yes or no and controls whether the test framework enables or disables OpCache.

Licensing

Xdebug is released under The Xdebug License, which is based on The PHP License. It is an Open Source license (though not explicitly endorsed by the Open Source Initiative).

Further Reading

Xdebug has extensive documentation on its website. There are over a hundred settings and many functions documented. Please have a look through the wealth of information that Xdebug can provide to make your every day development with PHP easier.

Support

For questions regarding Xdebug, please use StackOverflow, and tag your question with xdebug.

You can also find ad-hoc and sporadic support on IRC: freenode/#xdebug. You can do that with your favourite client, or by using their webchat.

If you think that you encountered a bug, please file a detailed bug report at https://bugs.xdebug.org. You are required to create an account, this is so that you can be contacted for additional information and to keep out spam.

Derick Rethans — [email protected]

About

Xdebug — Step Debugger and Debugging Aid for PHP

xdebug.org

Resources

Readme
License

Contributing

Contributing
Activity
Custom properties

Stars

3.4k stars

Watchers

119 watching

Forks

598 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — 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.