When using VS Code connected to WSL, there is a race condition between the Python extension's environment activation and the Code Runner extension's execution command. When attempting to run a Python ...
and in Json editor is line "vscode:prepublish": "tsc -p ./", is marked differently. So maybe is this what can cause may times reported problem of code runner stopping to work.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results