Remotely code an addon in a docker image?

I want to add a feature to an existing addon. Is it possible (and how) to access the addon files in the docker image that the addon is using? It would be nice to use VSCode or PyCharm to connect to the running code and debug it.
I’m running HA on a RPi and my desktop os is Windows. I also have a HA installation for testing on a VirtualBox machine with LinuxMint. (without Addon support)