Next, create a debugging configuration for test. See Select and activate an environment from the VSCode docs. I then installed it on my env using the same command you mentioned: pip install -e /path/to/mypkgįirst, make sure to set the VSCode interpreter to use the same env where you installed mypkg. Press F11 until you stop on line of code in the switch statement for a value of 'I' ( Select statement for Visual Basic). Repeat this step until you see a value of I in the type variable. I created mypkg based on Packaging Python Projects sample from the Python docs. Press F5 and hover over the type variable again. First and foremost, it is an editor that gets out of your way. The editor is contextually aware of the type of file you're editing. Version 1.79 Edit Why did we build Visual Studio Code Visual Studio Code combines the simplicity of a source code editor with powerful developer tooling, like IntelliSense code completion and debugging. ![]() Although Solution Explorer is where you manage project files, the editor window is typically where you work with the contents of files, like source code. Previous step: Create a new Python project. OpenCV, pygame) because they are stored as. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code. As far as I know, the only time it's not possible is when the Python dependencies are C codes (ex. ![]() It should be possible with the built-in debugging configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |