Privacy Policy
Snippets index

  Debug python with rpdb

.

Pre-requisites

pip install rpdb

In your source code

import rpdb; rpdb.set_trace()

or

rpdb.set_trace(addr=('0.0.0.0', 4444))

and finally debug with:

nc <target_ip> 4444