VSCode: clear integrated terminal when debug starts : <p>when using <code>"console": "integratedTerminal"</code> in a launch.json the program output is redirected to the integrated terminal. However, after terminating a debug session and starting another one, the terminal is re-used which can be pretty annoying.</p>

<p>I have not found a way to make VSCode clear the terminal -- it is possible to <a href="https://code.visualstudio.com/Docs/editor/tasks#_output-behavior" rel="noreferrer">clear the panel in tasks.json</a> with the <code>clear: true</code> property, this however only works for tasks such as the build task but has no effect on the debug panel.</p>

<p>Help is greatly appreciated.</p>

<p>Thanks in advance<br>
-Simon</p>
