How does one setup Docker with WingIDE
I have Python running in remote, so to speak, but through docker. How do I access it and use it in WingIDE?
Since this was originally answered a year ago, the approach to setting up Wing with Docker has been changed, and is now documented in detail in https://wingware.com/doc/howtos/docker
This is a different approach than the original links I provided a year ago and is likely more generally useful because it does not require the ability to connect to the Docker instance with SSH.
However, this is still fairly complicated to set up. We're working on automating and simplifying setup for Docker based on this approach, by adding the concept of a container configuration to Wing's UI. But that's not yet available at the moment.
If you can ssh into the docker instance then you can use Wing Pro's remote development support described at http://wingware.com/doc/proj/remote-h...
If not, then it's harder. If files are shared with the local host you can open and edit them from there and would be able to set up debugging as well using the manual method described at http://wingware.com/doc/debug/manual-... to get the debug connection set up and to describe how the files are found in docker vs. on the local host.
We're hoping to add support for Docker soon. Right now we only have container-specific support for Vagrant: http://wingware.com/doc/howtos/vagrant and Windows Subsystem for Linux: http://wingware.com/doc/howtos/wsl
I have followed the steps outlined here to the best of my ability and I even encountered an issue with docker, as shown in this image but then, I sorted that out by following the instructions shown in the image.
Also worthy of note is the fact that I activated the debugger as shown
Within the Debugger option, I also added my PC ip, as shown in this image .
But then, I am unable to set the breakpoint. I have clicked to not avail. If I am missing something, I would like for someone to show me what it is.
However, one thing I would like for the admin to do is to have someone always do short videos to show how these things work. While the documentation is great, it is so different when one tries to do as stated, at times. But if there are videos that one can watch and follow through then that would be fine.
If such exists and I have missed it, please point me to it. I need to sort this docker issue to move ahead with my job.
To enter a block of code: