How to Use a Debugger in PHP

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • DataTables

    Example of uses for jQuery DataTables and PHP (by leeway-academy)

    In this section, you'll get to see two of the most typical usages of XDebug: debugging a web application and debugging a CLI application. For demonstration purposes, I'll be using the code located in this repository

  • xDebug

    Xdebug — Step Debugger and Debugging Aid for PHP

    XDebug

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • web-pecl

    The PECL website

    If you don't have the opportunity to use a package manager, you can still install it easily via PECL:

  • Visual Studio Code

    Visual Studio Code

    Any IDE can probably be used to debug PHP with XDebug, but since it’s free and popular, I'll use VSCode as an example.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts