'vscode Cannot start debug python code(Could not load source '/tmp/tmpv1lxfbc3/tmpzz5m6o6s.py'.)

When I start debugging, vscode keeps going in circles and opens such a temporary file

"Could not load source '/tmp/tmpd0h26xse/tmp_obr4x7i.py'." will be displayed if you click "stop debug" after waiting for a long time with no response.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source