artran / burp-plugins

4 stars 0 forks source link

Configuring Pycharm #1

Open greckko opened 8 years ago

greckko commented 8 years ago

Hi,

I'm considering developping burp extensions in pycharm. Is it possible to debug extension using pycharm ?

artran commented 8 years ago

Hi, I no longer work with Burp so can't verify it but I would try the remote debugging functions in PyCharm. You'll need to add a Remote Debugging run target in PyCharm, add the remote debugging egg to Burp's python packages and then put something along the lines of:

import sys sys.path.append('/app/itracker/pycharm-debug.egg')

noinspection PyUnresolvedReferences

import pydevd pydevd.settrace('127.0.0.1', port=21000, suspend=False)

close to but before the breakpoint you want to monitor.