Skip to content

Commit 7424bfe

Browse files
committed
more tracelogs to be verbose
1 parent 7137217 commit 7424bfe

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/client/common/terminal/service.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { useEnvExtension } from '../../envExt/api.internal';
2525
import { ensureTerminalLegacy } from '../../envExt/api.legacy';
2626
import { sleep } from '../utils/async';
2727
import { isWindows } from '../utils/platform';
28+
import { trace } from 'console';
2829

2930
@injectable()
3031
export class TerminalService implements ITerminalService, Disposable {
@@ -92,6 +93,13 @@ export class TerminalService implements ITerminalService, Disposable {
9293
const ourTerminalState = e.state;
9394
console.log(ourTerminalState);
9495
traceVerbose('Printing our terminal state from service.ts', ourTerminalState);
96+
97+
const ourStateTypeless = (ourTerminalState as unknown) as { isInteractedWith: any; shellType: any };
98+
const ourState = ourStateTypeless.isInteractedWith;
99+
traceVerbose('Printing our terminal state from service.ts', ourState);
100+
const ourShellType = ourStateTypeless.shellType;
101+
traceVerbose('Printing our terminal state from service.ts', ourShellType);
102+
traceVerbose('finished printing our terminal state');
95103
});
96104
// If terminal was just launched, wait some time for shell integration to onDidChangeShellIntegration.
97105
if (!terminal.shellIntegration && this._terminalFirstLaunched) {

0 commit comments

Comments
 (0)