Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging Python program doesn't work after updating to VS Code 1.66.0

Today (2022/3/31) I let the auto-update function update my VS Code to latest version 1.66.0 on Windows. After that, my normal debugging process doesn't work any more: when I press F5, the debugging control panel flashes and disappears immediately, nothing else happends. I couldn't find any useful error message on output and terminal windows. My launch.json file looks like this:

{
        "name": "DEBUG",
        "type": "python",
        "request": "launch",
        "program": "${workspaceFolder}\\starting.py",        
        "console": "integratedTerminal",    
        "justMyCode": false,
    }

I tried to change the console above to externalTerminal but it didn't help. Could someone tell me how to find out what's going on here?

Cheers,

like image 633
tete Avatar asked Apr 27 '26 03:04

tete


1 Answers

Click on the python extention (publisher microsoft) and select "install pre-release". It would be V2022.5.10961002 (you can see it when you hover with the mouse above the extension)

Fixed the problem for me.

like image 77
Mickey Avatar answered Apr 28 '26 19:04

Mickey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!