VsCode Remote Debugging, change pythonpath to point to docker container's python interpreter
I followed up on Brett's answer and you can now do the following:
- Install the remote-containers extension.
- Click "shift+command(ctrl)+p" and type and select "remote-containers: open folder in remote docket container"
I hope this helps. More information is available here:
- https://code.visualstudio.com/blogs/2019/05/02/remote-development
- https://devblogs.microsoft.com/python/remote-python-development-in-visual-studio-code/
- https://youtu.be/jKB_nIoC1gQ
What you want is remote interpreter support which isn't supported yet. Please subscribe to this issue to know the status of this feature.