audaxis / c9.ide.run.debug.ikpdb

Cloud9 debugger client plugin for the IKPdb python debugger.
MIT License
8 stars 5 forks source link

Document remote debugging #1

Open ddm opened 7 years ago

ddm commented 7 years ago

It seems that ikpdb supports debugging a process running elsewhere as long as the remote process is started with ikpdb. Would it be possible to connect Cloud9 to the remote process on port 15470 without starting the process from Cloud9?

cmorisse commented 7 years ago

For now, it's not possible. But, I will commit the required changes in a few weeks. Once done, you will be able to debug any remote process wrapped by ikpdb using a runner like the one hereafter (just change debughost and debugport with your target process values).

capture d ecran 2017-03-22 18 55 22

ddm commented 7 years ago

Awesome! Local debugging works very nicely already: looking forward to the remote debugging feature.

cmorisse commented 7 years ago

Hello, The branch IMP_remote_debugging contains a working version of remote debugging compatible with the runner described in previous comment above.

If you want to use it you can use instructions in this post: https://community.c9.io/t/distributing-and-installing-custom-cloud9-plugins/15168 Short version: clone the plugin in ~/.c9/plugins (branch IMP_remote_debugging) and reference it in your init.js via Cloud9 / Open your Init Script