<p dir="auto">In Visual Studio, you can press Ctrl+F5 to launch the application without a debugger attached, which i befinicial for performance reasons. For VS Code this would be very helpful, because you don't always want to actually debug a file or actually cannot because there is no debug adapter extension out there yet. Currently, you have to define a "launch" task, which cannot get a keyboard shortcut. Having "Launch without debugging" would be much more semantically correct.</p>
<ul dir="auto">
<li>Introduce a new action in command palette "Launch without debuggin" with keyboard shortcut Ctrl+F5</li>
<li>If the currently selected configuration has <code class="notranslate">type</code> set, send the debug adapter a <code class="notranslate">launchRequest</code> with the additional argument <code class="notranslate">debug: false</code></li>
<li>Make the debug setting <code class="notranslate">type</code> optional. If a configuration does not have a <code class="notranslate">type</code>, it can only be launched without debugging:
<ul dir="auto">
<li>If <code class="notranslate">runtimeExecutable</code> is set, spawn the runtime executable (java, bash, ...) with the <code class="notranslate">runtimeArguments</code>, <code class="notranslate">program</code> and <code class="notranslate">args</code>.<br>
Otherwise spawn <code class="notranslate">program</code> with <code class="notranslate">args</code> directly (like a .exe or .bat)</li>
<li><code class="notranslate">program</code> should be allowed to drop the file extension (java needs this for example)</li>
<li>Put stdout on the debug console and send input on the debug console to stdin</li>
<li>If <code class="notranslate">externalConsole</code> is true, run the script in an external console</li>
<li>Support <code class="notranslate">preLaunchTask</code></li>
</ul>
</li>
</ul>
<p dir="auto">Examples:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;name&quot;: &quot;Run currently open script&quot;,
  &quot;runtimeExecutable&quot;: &quot;bash&quot;,
  &quot;program&quot;: &quot;${file}&quot;
}"><pre class="notranslate">{
  <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>Run currently open script<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"runtimeExecutable"</span>: <span class="pl-s"><span class="pl-pds">"</span>bash<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"program"</span>: <span class="pl-s"><span class="pl-pds">"</span>${file}<span class="pl-pds">"</span></span>
}</pre></div>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;name&quot;: &quot;Launch&quot;,
  &quot;runtimeExecutable&quot;: &quot;java&quot;,
  &quot;program&quot;: &quot;${workspaceRoot}/MyClass&quot;,
  &quot;preLaunchTask&quot;: &quot;compile&quot;
}"><pre class="notranslate">{
  <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>Launch<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"runtimeExecutable"</span>: <span class="pl-s"><span class="pl-pds">"</span>java<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"program"</span>: <span class="pl-s"><span class="pl-pds">"</span>${workspaceRoot}/MyClass<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"preLaunchTask"</span>: <span class="pl-s"><span class="pl-pds">"</span>compile<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto">Is there a command that will run my file without opening the debug console and without opening the debug tab?</p>