Phenomena:
Error report: Timeout waiting for debugger connection
In integration Terminal shows: 'cmd' is not recognized as an internal or external command, operable program or batch file.
Note that if you do not select integrated terminal during debugging, you will not be able to see it.
Cause:
The fundamental problem lies in the environment variables.
Solution:
Open the environment variable editor (directly search for path), and add the path (case-insensitive) environment variable to the system variables.
Content: %SystemRoot%\System32
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of Python cannot F5 code under vscode. For more information, please follow other related articles on the PHP Chinese website!