Python in Visual Studio Code – Feb 2018 Release - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Python in Visual Studio Code – Feb 2018 Release

Python in Visual Studio Code – Feb 2018 Release

Summary: this tutorial will introduce you to the Python in Visual Studio Code – Feb 2018 Release

Introduction to Python in Visual Studio Code
What is Python in Visual Studio Code ?

We are pleased to announce that the April 2018 release of the Python Extension for Visual Studio Code is now available from the marketplace and the gallery. You can download the Python extension from the marketplace, or install it directly from the extension gallery in Visual Studio Code. 

Improvements to Running Python Code in the Terminal
We’ve made various improvements that make it easier to run Python code in the terminal.
Ctrl+Enter keyboard shortcut has been added for the “Python: Run Line/Selection in terminal” command. The command was also enhanced so that it adds and removes blank lines in indented code blocks so that they will run correctly in the terminal.
Take the following code example:
 Now the blank line is removed in between the two print function calls, a blank line is added before the third print function call, and the code is successfully run in the terminal when pressing Ctrl-Enter:
When using the "Python: Create Terminal" command, the focus is put into the terminal so you no longer need to use the mouse to click into the window before you start typing. T 

Remote Debugging Support in Preview Debugger

We are continuing to add features to our Preview debugger, in this release we added remote debugging capabilities. 
To use remote debugging, you first need to install the preview version of ptvsd using:
pip install ptvsd --pre
Then you can start the debug server in one of two ways, by using the following command to start a python file:
python -m ptvsd --server --port 9091 --file module.py
Or you can import ptvsd into your app and start the server programmatically:
import ptvsd
ptvsd.enable_attach(('0.0.0.0', 5678))
Then you can add a remote attach configuration from the debugging configuration drop-down and enter the port and IP address to use:

If was this tutorial helpful? so please share by social media and with friends 

About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.