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

How to debug python with vscode

藏色散人
藏色散人Original
2019-12-25 09:08:594853browse

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!

Statement:
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