How to make Collider2D visible in game?


I encountered some issues with 2D collider after scaling the game object.
I want to make collider visible in game in order to see how and where it appears.
Is it possible?

Also collider detects collision only on the edge or in the center also? E.g. raycast on collider at mouse cursor. If I Alt+Tab the game, move cursor inside collider bounds and Alt+Tab to game again - will ray cast from mouse hit collider?

When you just let it run in the Game view you can enable Gizmos to make them visible. (Top Right Corner of the Game View)