Applicable to python, java environment
Excellent tutorial : https://blog.csdn.net/qq_43323641/article/details/127018405
By default in the case of the terminal
Run and debug
Add to
"console": "internalConsole",
Re-run the code, the effect