How to turn on hitboxes in minecraft?

To enable hitboxes in Minecraft, go to the game’s settings and check the “Hitboxes” box.