How to view keyboard input via obsidian dev console

I tried looking on the form to see if this existed and found no answer.

OS: Ubuntu 24.01

What I’m trying to do:
I’m trying to debug an error I found with binding a specific hotkey using the templater plugin. In order to narrow the scope of where the problem is happening on my machine I want to check to see if the shortcut Alt+6 is being registered on obsidian. inorder to do this I want to see if there is a way to read the keyboard input I press while I’m using obsidian. if this is the case then I can focus my lense on device wide keyboard shortcut conflicts.

Edit: I’m an idiot I just forgot to put the actual symbol I wanted to use inside my templater file.
Still knowing how to read keyboard input’s via console could be useful for future debugging.