File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -485,7 +485,10 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
485
485
const defaultProfile = ( await this . _terminalProfileResolverService . getDefaultProfile ( { remoteAuthority : this . remoteAuthority , os } ) ) ;
486
486
this . shellLaunchConfig . executable = defaultProfile . path ;
487
487
this . shellLaunchConfig . args = defaultProfile . args ;
488
- this . shellLaunchConfig . icon = defaultProfile . icon ;
488
+ // Prevent debug icon from being overwritten
489
+ if ( ! ( this . shellLaunchConfig . icon && 'id' in this . shellLaunchConfig . icon && this . shellLaunchConfig . icon . id === Codicon . debug . id ) ) {
490
+ this . shellLaunchConfig . icon = defaultProfile . icon ;
491
+ }
489
492
this . shellLaunchConfig . color = defaultProfile . color ;
490
493
}
491
494
You can’t perform that action at this time.
0 commit comments