How to debug from cmd on vscode

Viewed 54

I don't know how to debug a code from Windows cmd. Bcuz my terminal (in vs code) is pixelated and I don't know what to do about it. By the way, I tried everything such as changing terminal font and font size.

1 Answers
  1. First create a launch.json file for your python project

    enter image description here

    enter image description here

  2. then use the play button in the picture to start debugging the code.

    enter image description here

You can configure how to debug in more detail in the launch.json file.

Related