microsoft / ptvsd

Python debugger package for use with Visual Studio and Visual Studio Code.
Other
548 stars 68 forks source link

Easy way to find debugger version number (How does one get the version number of the VS Code debugger?) #2123

Closed brando90 closed 4 years ago

brando90 commented 4 years ago

How does one get the version number of the VS Code debugger ptvsd?

I've been trying to google how to get the debugger number for ptvsd. Perhaps a feature where it makes it easy to find it? An individual setting for it?

At the very least I hope this feature request makes it googleable/searchable:

https://www.quora.com/unanswered/How-does-one-get-the-version-number-of-the-VS-Code-debugger

https://www.reddit.com/r/vscode/comments/g9os91/how_does_one_get_the_version_number_of_the_vs/?

int19h commented 4 years ago

The only supported way is to import it and then access __version__. Ditto for debugpy, which is the more interesting one at the moment (ptvsd won't see any further changes).