Plugin development setup issue #10691
-
|
I want to add plugin development capabilities to my devcontainer setup. I have followed the documentation including installing the plugin into the venv with Where I fail is how to get the develoment server to recognize the plugin. I would assume that just because the plugin is in the venv it will not be recognized. Should it also be added to the /dev/plugins.txt file and if so - what is the syntax? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
|
@gunstr that should be perfectly fine - this is how I run all my plugin development.
It does not need to be added to the plugins file. This file is for automatically installing plugins from a remote source (e.g. pypi) |
Beta Was this translation helpful? Give feedback.
-
|
@SchrodingersGat I have now merged the plugin scaffold generated by the Creator with my "old" handcrafted plugin and it runs well in the devcontainer. But I have one problem left where I do not find a solution. - I can't get breakpoints to work in the plugin. I use the
Have you seen something like this and have an idea what might causing it? |
Beta Was this translation helpful? Give feedback.
-
|
I do launch with "debug with 3rd party support" and the I'm using a setup with WSL 2 on windows and have the source code installed in the WSL 2 file system. I read a lot comments about issues with file system performance with WSL 2, maybe it's better to spin up a full Linux VM for the InvenTree development? |
Beta Was this translation helpful? Give feedback.
-
I missed this line in your previous comment. So, I'm not sure why you can break there but not in the breakpoint position... |
Beta Was this translation helpful? Give feedback.



@gunstr that should be perfectly fine - this is how I run all my plugin development.
pip install -eIt does not need to be added to the plugins file. This file is for automatically installing plugins from a remote source (e.g. pypi)