A debugging device, relating to the technical field of computers. The debugging device comprises a debugging line body and two ports.The two ports are connected with a debugging apparatus (30) and a debugged apparatus (40) respectively; the debugging line body comprises a debugging switch (11) and four lead wires A(12), B(13), C(14) and D(15); the lead wire A(12) connects a VCC interface of the debugging apparatus (30) with a VBUS interface of the debugged apparatus (40); the lead wire B(13) connects an RX interface of the debugging apparatus (30) with a TX interface of the debugged apparatus (40); the lead wire C(14) connects a TX interface of the debugging apparatus (30) with an RX interface of the debugged apparatus (40); the lead wire D(15) connects a GND interface of the mobile debugging apparatus (30) with a GND interface of the debugged apparatus (40); and the debugging switch (11) is provided on the lead wire A(12). The debugging switch (11) is provided on the debugging line body and is connected with