how can i keep the inspector window active while testing my game?

i am completely new at unity and i would like to know how i can keep the inspector window active while testing my game so that i can easily debug my game. thank you.

By default, it should look like this while playtesting:

The inspector window is right there and interactable. Maybe you accidentally clicked “Maximize on Play” on the top right. Just click it again to toggle it off.

If you mean how to get Debug-Logs while testing your game on some device:
I use this tool for free from the Asset store:

Very convenient and easy to use

At the top-right corner you can see the “layout” button click that and select “default”
Then drag the “game” screen downwards