1、新装VScode,需要安装python插件
2、安装完成后点击debug按钮,再点击设置按钮,修改launch.json文件配置需要调试相关信息
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": false,
&