Skip to content

Instantly share code, notes, and snippets.

@ionelmc
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save ionelmc/8933916 to your computer and use it in GitHub Desktop.

Select an option

Save ionelmc/8933916 to your computer and use it in GitHub Desktop.

Install dev version of manhole:

pip install https://github.com/ionelmc/python-manhole/archive/master.zip

Poke with USR2, and run (use correct pid):

socat readline unix-connect:/tmp/manhole-12345
#!.ve/bin/python
import manhole
manhole.install(oneshot_on='USR2')
from celery import Celery
app = Celery("badapp")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment