xrdebug/xrdebug

Lightweight debug utility

1.1.1 2024-03-18 15:29 UTC

This package is auto-updated.

Last update: 2024-03-26 22:41:49 UTC


README

🔔 Subscribe to the newsletter to don't miss any update regarding Chevere.

xrDebug

Get it on macOSGet it on LinuxGet it on Windows

Build Code size Apache-2.0 PHPStan Mutation testing badge

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

xrDebug is a lightweight web-based debug utility server. 🦄 Play video

Installation

Download latest xrdebug binary by running the following command in your terminal, it detects your operating system and CPU architecture:

bash <(curl -sL xrdebug.com/bin.sh)

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.