Plugin debugging workflow?
Posted: Sun Apr 28, 2019 10:51 pm
I'm new to Deluge and I'm trying to create a plugin for the first time. I'm having trouble finding a convenient way of debugging my plugin. Does anyone recommend a workflow for this? So far, troubleshooting a bug in my code involves the following steps:
1. Make a code change
2. Run
3. Re-copy the output egg to my deluge daemon's plugin directory
4. Restart the deluge daemon
5. Look at daemon's logs for errors
Is there an easier way? I could probably script this somewhat, but I figured I'm probably just not seeing an easier way to do this.
I'm also interested in Deluge development in general. I figured I'd try writing a plugin first before I got more involved in the source. Looks like 2.0 is in development which is exciting. Are more developers needed? Depending on how difficult it is to get started, I may be interested in dedicating some time to this. Thanks!
1. Make a code change
2. Run
Code: Select all
python setup.py bdist_egg
4. Restart the deluge daemon
5. Look at daemon's logs for errors
Is there an easier way? I could probably script this somewhat, but I figured I'm probably just not seeing an easier way to do this.
I'm also interested in Deluge development in general. I figured I'd try writing a plugin first before I got more involved in the source. Looks like 2.0 is in development which is exciting. Are more developers needed? Depending on how difficult it is to get started, I may be interested in dedicating some time to this. Thanks!