Remote debugging method and device

The invention discloses a remote debugging method and device. The method comprises the following steps: receiving a debugging request based on HTTP (Hyper Text Transport Protocol) transmission from a host computer, wherein the debugging request carries a debugging command and instruction information for instructing a debugging target; responding the debugging request to execute the debugging operation instructed by the debugging command for the debugging target instructed by the instruction information; returning the debugging result to the host computer through the HTTP protocol. The Remote debugging method and the device solve the technical problem that when the target computer is remotely debugged through the host computer, the remote debugging process is complicated due to extra remote debugging interfaces added in the host computer, achieve the purpose of remotely debugging the target computer without addition of the extra debugging interfaces, and improves the efficiency and the flexibility in remote debugging.