Live data from Hacker News

Python in Visual Studio Code – April 2019 Release

devblogs.microsoft.com

1–10 of 42 posts

Re: Python in Visual Studio Code – April 2019 Release

#4
post #3

A feature I would like is use my VScode against a python programming environment in docker. The only way I have found this possible is to actually run VSCode itself in docker.

I run PyCharm using my docker-compose environment, which works great. A co-worker said he was able to get VSCode working with docker-compose, but the setup wasn't easy. He said something about having to attach to the running docker/python process.

Re: Python in Visual Studio Code – April 2019 Release

#5
post #3

A feature I would like is use my VScode against a python programming environment in docker. The only way I have found this possible is to actually run VSCode itself in docker.

As an aside, you can easily do this with PyCharm. It even works with vagrant images.

Re: Python in Visual Studio Code – April 2019 Release

#6
post #3

A feature I would like is use my VScode against a python programming environment in docker. The only way I have found this possible is to actually run VSCode itself in docker.

I would also like this. Like the sibling, I use Pycharm for this specific use case (as in 95% of my work is in vscode, and I drop into pycharm when I need remote interpreter support).

The github issue tracking this feature is here: https://github.com/Microsoft/vscode-python/issues/79

Unfortunately there's no major activity on it as of late... but I usually go take a peak every few months and hope...

Re: Python in Visual Studio Code – April 2019 Release

#7
post #3

A feature I would like is use my VScode against a python programming environment in docker. The only way I have found this possible is to actually run VSCode itself in docker.

Do you mean connecting a debugger to run/evaluate code in a Docker container? Because I'm pretty sure VSCode does this... or at least I thought it did. (Or is this a feature reserved to full Visual Studio?)

Re: Python in Visual Studio Code – April 2019 Release

#8
post #3

A feature I would like is use my VScode against a python programming environment in docker. The only way I have found this possible is to actually run VSCode itself in docker.

As an aside, you can easily do this with PyCharm. It even works with vagrant images.

This is true, but unfortunately only for the paid version.
Post reply on HN