1. On your computer version of Minecraft, go to the options menu and choose chat settings, where reduced debug info would be disabled. This will help to activate the full debug screen.
2. Know the correct debug button and press it. This button is usually F3 on many PC, or fn + F3 on Mac. Pressing the debug button would display some debug information for Minecraft.
3. Find the coordinates in the debug screen, and this usually starts with the letters "XYZ."
4. It is necessary you know how to interpret your coordinates: X is your longitude, which is the east to the west range of your start block. Z stands for the latitude, which is your location to the south or north of your starting block. Y is simply the elevation, which refers to your range above or below the starting block.