
In the software programming world, debugging is the process that allows the programmer to identify and locate bugs/errors in the existing code. Starting from C, C++, JavaScript, and so on. Not only for Python, debugging is related to every other programming language in the world, While we talk about how to debug Python scripts in VS code, it is essential for us to know why we should debug our code in the first place. This article can be considered as a continuation of the above-mentioned steps as I am assuming that you are already into programming in Python using the VS Code. I would definitely recommend reading that article if you have not setup your Visual Studio Code environment yet. Previous article on this topic, I have explained how to set up a development environment to start coding in Python.


In this article, I am going to explain how we can easily debug Python scripts using the Visual Studio (VS) Code.
