简体   繁体   中英

VSCode ignoring breakpoints during debug in python

I'm trying to debug a Django project with VSCode. Everything works fine, I get the output and VSCode footer goes purple (debug mode) but it just ignores the breakpoints.

  • I'm working on WSL (vscode remote)
  • Python 3.6.9 (virtualenv)
  • VSCode 1.43 (using Python and Python for VSCode extensions)

This is my launch.json file:

{
"version": "0.2.0",
"configurations": [
{
  "name": "Django",
  "type": "python",
  "request": "launch",
  "stopOnEntry": false,
  "program": "${workspaceRoot}/bullfrogloader/manage.py",
    "args": [
        "runserver",
    ]
},
]
}

This is an screenshot of vscode running it, just in case you see something weird there:

在此处输入图片说明

thank you so much guys, I just don't know what else to do.

您是否尝试通过添加“justMyCode”来更改launch.json:false

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM