Posts

Showing posts from February, 2019

Beginner's Guide: Debug Python Code on VS Code

Image
Hello Guys, Once again, I am here with my blog post on how to debug Python code on VS Code editor. If you remember, we have discussed how to use VS Code for Python from its installation to run a simple Python "HelloWorld" program in my previous blog , so now we are going to get acquainted with the debugging feature of VS Code for Python. Please note that this does not cover all the features extensively, but enough to get started with (Beginner's guide... 😃) Let's get started: Before starting debugging we need to take care of few things like setting our debugging configurations specifically for Python. So, let’s do this first by following the steps below: Initialize configurations: A configuration drives VS Code's behavior during a debugging session. Configurations are defined in a launch.json file that's stored in a .vscode folder in your workspace (your project folder). To initialize debug configurations, you need to select the Debu