sometimes you wanna do debugging on a device that has no screen or ethernet port too

Debugging can be done even by serial ports and JTAG.