PHPackages                             yutv/xdebug-toggle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. yutv/xdebug-toggle

ActiveLibrary

yutv/xdebug-toggle
==================

xdebug toggle

04Shell

Since Oct 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/yutv/xdebug-toggle)[ Packagist](https://packagist.org/packages/yutv/xdebug-toggle)[ RSS](/packages/yutv-xdebug-toggle/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Overview
========

[](#overview)

It is a bash script for the fast enabling/disabling Xdebug.

[![](xdebug.gif)](xdebug.gif)

**Prerequisites**

1. Ubuntu or Debian
2. Font Awesome ```
    apt install fonts-font-awesome gnome-tweaks
    ```

    Alt+F2 &gt; gnome-tweaks &gt; Fonts &gt; Monospace Text = SourceCodePro+PowerLine+Awesome Regular Regular 11

Installation
============

[](#installation)

1. Clone repository

    ```
    git clone https://github.com/yutv/xdebug-toggle
    cd xdebug-toggle
    ```
2. Install xdebug-toggle

    ```
    sudo ./install.sh
    ```
3. Insert the following line into ~/.bashrc

    ```
    export PS1=$(echo "$PS1" | sed -E 's/(\])(\\\$)/\1\\[\\e[0;38;05;197m\\]$(ps1-xdebug-status)\\[\\e[0m\\]\2/')
    ```
4. Allow xdebug to be run as su without password

    ```
    sudo visudo
    yutv ALL = NOPASSWD: /usr/local/bin/xdebug
    ```

    where `yutv` is a user name
5. Reconnect SSH/Bash Terminal

Usage
=====

[](#usage)

```
xdebug # enable Xdebug
xdebug # disable Xdebug
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ba0c7ae8d26eddea8007493ea4020939690778dc2bc238c91b2e46c9eb0e229?d=identicon)[yutv](/maintainers/yutv)

---

Top Contributors

[![yutv](https://avatars.githubusercontent.com/u/1616522?v=4)](https://github.com/yutv "yutv (5 commits)")

### Embed Badge

![Health badge](/badges/yutv-xdebug-toggle/health.svg)

```
[![Health](https://phpackages.com/badges/yutv-xdebug-toggle/health.svg)](https://phpackages.com/packages/yutv-xdebug-toggle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
