Skip to content

Commit

Permalink
more tracelogs to be verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Jan 14, 2025
1 parent 7137217 commit 7424bfe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/client/common/terminal/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { useEnvExtension } from '../../envExt/api.internal';
import { ensureTerminalLegacy } from '../../envExt/api.legacy';
import { sleep } from '../utils/async';
import { isWindows } from '../utils/platform';
import { trace } from 'console';

@injectable()
export class TerminalService implements ITerminalService, Disposable {
Expand Down Expand Up @@ -92,6 +93,13 @@ export class TerminalService implements ITerminalService, Disposable {
const ourTerminalState = e.state;
console.log(ourTerminalState);
traceVerbose('Printing our terminal state from service.ts', ourTerminalState);

const ourStateTypeless = (ourTerminalState as unknown) as { isInteractedWith: any; shellType: any };
const ourState = ourStateTypeless.isInteractedWith;
traceVerbose('Printing our terminal state from service.ts', ourState);
const ourShellType = ourStateTypeless.shellType;
traceVerbose('Printing our terminal state from service.ts', ourShellType);
traceVerbose('finished printing our terminal state');
});
// If terminal was just launched, wait some time for shell integration to onDidChangeShellIntegration.
if (!terminal.shellIntegration && this._terminalFirstLaunched) {
Expand Down

0 comments on commit 7424bfe

Please sign in to comment.