Skip to content

Commit acb3056

Browse files
committed
Log the detected terminal when first checked
1 parent e2eab27 commit acb3056

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/interceptors/terminal/fresh-terminal-interceptor.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ const getTerminalCommand = _.memoize(async (): Promise<SpawnArgs | null> => {
3535
else result = Promise.resolve(null);
3636

3737
result.then((terminal) => {
38-
if (terminal) addBreadcrumb('Found terminal', { data: { terminal } });
38+
if (terminal) {
39+
console.log(`Detected terminal command: ${terminal.command}`);
40+
addBreadcrumb('Found terminal', { data: { terminal } });
41+
}
3942
else logError('No terminal could be detected');
4043
});
4144

0 commit comments

Comments
 (0)