Collision box visibility in play mode

For UE5

In the console command field at the bottom of your editor window type in ShowFlag.Collision 1