Skip to content

Lightweight debug utility (PHP based server)

License

Notifications You must be signed in to change notification settings

xrdebug/xrdebug-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xrDebug (PHP based server)

This is the original xrDebug server written in pure PHP. You may want to check the newer implementation at xrdebug/xrdebug.

Use this project if you want to bundle xrDebug in your based PHP project, just like Chevereto.

xrDebug

Build Code size Apache-2.0 PHPStan Mutation testing badge

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Technical Debt

Installation

composer require xrdebug/xrdebug

xrDebug light

xrDebug dark

Documentation

Documentation available at docs.xrdebug.com.

Features

  • Ephemeral, it doesn't store any persistent data
  • Signed requests (Ed25519)
  • End-to-end encryption (AES-GCM AE)
  • Filter messages by Topics and Emotes
  • Resume, Pause, Stop and Clear debug window controls
  • Keyboard shortcuts (Resume R, Pause P, Stop S and Clear C)
  • Re-name "xrDebug" session to anything you want
  • Export dump output to clipboard or as PNG image
  • Pause and resume your code execution
  • Dark / Light mode follows your system preferences
  • Portable & HTML based (save page, search, etc.)
  • Uses FiraCode font for displaying beautiful looking dumps
  • Open with editor links
  • Responsive user interface

xrDebug light demo

xrDebug dark demo

PHP Features

  • Configuration via code and xr.php file
  • Dump arguments using VarDump
  • Generates dump backtrace
  • Custom inspectors
  • Handle errors and exceptions (hook or replace your existing handler)

License

Copyright Rodolfo Berrios A.

xrDebug is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.