Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xonsh/xontrib-debug-tools

Debug tools for xonsh shell.
https://github.com/xonsh/xontrib-debug-tools

pdb python-pdb xonsh xonsh-dev xontrib

Last synced: about 1 month ago
JSON representation

Debug tools for xonsh shell.

Awesome Lists containing this project

README

        


Debug tools for xonsh shell.


If you like the idea click ⭐ on the repo and tweet.

## Installation

To install use pip:

```bash
xpip install xontrib-debug-tools
# or: xpip install -U git+https://github.com/xonsh/xontrib-debug-tools
```

## Usage

The package contains:

* `pdb` - Simple built-in debugger. Runs pdb on reception of [SIGUSR1 signal](https://www.gnu.org/software/libc/manual/html_node/Miscellaneous-Signals.html).
* `xog` - Simple command to establish and print [`$XONSH_TRACEBACK_LOGFILE`](https://xon.sh/envvars.html#xonsh-traceback-logfile).

### pdb

```bash
xontrib load pdb
```

### xog

```bash
xontrib load xog
xog --help
```

### See also

* [xunter](https://github.com/anki-code/xunter) - Profiling for the xonsh shell based on hunter.

## Credits

This package was created with [xontrib template](https://github.com/xonsh/xontrib-template).