-
I am currently trying to debug a plugin for Netbox that someone else once wrote. He uses Docker Compose, which I find very interesting. I also manage to start it in debug mode. However, it takes a very long time until this message is skipped. Can someone tell me where I have to enter the parameters? -Xfrozen_modules=off Thank you very much for your help. It took me many days before I was able to debug it at all. Now I don't want to spend hours with the start. :) System VSCode Info: Extensions: DebugPy: 1.8.2 Docker and debug files:
The Projekt: develop/ Docker File Original:
develop/docker-compose.yml (Original):
My "develop/docker-compose-debug.yml"
MY .vscode/launch.json
MY .vscode/tasks.json
I then start docker Compose Debug via: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
-Xfrozen_modules=off is a python command line argument. You could probably set it in your compose command line. I don't think that's what is taking so long though. |
Beta Was this translation helpful? Give feedback.
-
Yes, I just didn't know how. I was able to fix it and will describe more details here tomorrow: netbox-community/netbox-qrcode#76 I was able to solve everything via the debug file now that I understood it better. :D
|
Beta Was this translation helpful? Give feedback.
Yes, I just didn't know how. I was able to fix it and will describe more details here tomorrow: netbox-community/netbox-qrcode#76
I was able to solve everything via the debug file now that I understood it better. :D
Python, Django, VSCode, Netbox, Docker, Docker Compose, Ubuntu are all things I've only been working with for a short time. I'm just a Windows and C# / Visual Studio kid. :D