Can someone tell me what is this and how do I fix this, I just wrote a simple 5 line code playing with random.randint, for context I have used vs for a long time and I repaired python but I still don’t know what happening
The error appears when VS Code fails to connect to your Python program within the expected time limit.
If it was working fine before, try deleting the launch.json
file in your .vscode
folder. That might resolve the issue.
Otherwise, you might need to change VS Code to execute from an terminal. This Stack Overflow discussion should detail how to resolve that issue.
Hopefully, this was helpfull