When you are using Obsidian, with the Obsidian window focused, try pressing Alt+Ctrl+I (That’s an “i”, not an “L”). The Developer Tools sidebar should come up, and one of the tools within it is the console.
However, I want to make sure we’re talking about the same thing. The obsidian developer console will let you view normally-hidden error messages, but if you’re looking to type commands then you more likely actually want the command palette (Ctrl+P)