Home > Development Tools > VSCode > How to debug python with vscode

How to debug python with vscode

藏色散人
Release: 2019-12-25 09:08:59
Original
4905 people have browsed it

How to debug python with vscode

How to debug python with vscode?

First write a python file, as shown below

How to debug python with vscode

Then click on the little spider on the left, as shown in the picture below

How to debug python with vscode

Then add a breakpoint, as shown in the picture below

How to debug python with vscode

Then select the current file, as shown in the picture below

How to debug python with vscode

Then click the triangle button, as shown in the picture below

How to debug python with vscode

Then you will see that the execution stops at the breakpoint

How to debug python with vscode

We can perform breakpoint debugging through the operation button at the top , as shown in the figure below

How to debug python with vscode

Related recommendations:vscode introductory tutorial

The above is the detailed content of How to debug python with vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template