Skip to content

Commit 92921a0

Browse files
committed
Improve log on process exit
1 parent bab485c commit 92921a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vs/workbench/contrib/terminal/browser/terminalInstance.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,12 +1515,11 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
15151515
this._isExiting = true;
15161516

15171517
await this._flushXtermData();
1518-
this._logService.debug(`Terminal process exit (instanceId: ${this.instanceId}) with code ${this._exitCode}`);
15191518

15201519
this._exitCode = parsedExitResult?.code;
15211520
const exitMessage = parsedExitResult?.message;
15221521

1523-
this._logService.debug(`Terminal process exit (instanceId: ${this.instanceId}) state ${this._processManager.processState}`);
1522+
this._logService.debug('Terminal process exit', 'instanceId', this.instanceId, 'code', this._exitCode, 'processState', this._processManager.processState);
15241523

15251524
// Only trigger wait on exit when the exit was *not* triggered by the
15261525
// user (via the `workbench.action.terminal.kill` command).

0 commit comments

Comments
 (0)