A USB meter plugs in between the charger and the cable and shows voltage, current and power. It is one of the cheapest and most useful tools for charging faults.
1. Plug the meter into the charger, then the cable into the meter, then the phone.
2. Read the voltage: about 5V for normal charging, 9V or more for fast charging.
3. Read the current: a healthy phone usually draws 1A or more when the battery is low.
4. 0A with 5V present: the phone isn't accepting charge. Check the port, battery and charging circuit.
5. Very high current with the phone off and not charging: possible short on the board.
Use the same meter to test chargers and cables: compare a known good set with the suspect one.