A remote debugging method, related equipment and system

A remote debugging and server technology, applied in the network field, can solve problems such as the inability to establish a connection and the inability to perform remote debugging between devices

CN106254436BActive Publication Date: 2020-02-11TENCENT TECH (SHENZHEN) CO LTD
7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2020-02-11

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a method for remote debugging. The method is applied to a system for remote debugging. The system comprises at least one client and a server; and the method for remote debugging comprises the steps of deploying a client agent in each client and deploying a server agent in the server; sending a client identification identifier to the server agent; receiving to-be-debugged service data sent by the server agent when the server agent determines the client identity based on the client identification identifier; sending the to-be-debugged service data to an IDE (Integrated Development Environment) in the client and applying the to-be-debugged service data to the IDE for debugging so as to obtain service debugging data; receiving the service debugging data sent by the IDE; and sending the service debugging data to the server agent. The invention also provides the client agent, the server agent and the system for remote debugging. According to the method for remote debugging, restriction from a firewall security policy at the client side can be avoided, and accordingly remote debugging still can be realized in the presence of the restriction from the firewall security policy.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of network technology, in particular to a remote debugging method, related equipment and system. Background technique

[0002] For the hypertext preprocessor (English full name: Hypertext Preprocessor, English abbreviation: PHP) program, the local development machine needs to access PHP anytime and anywhere, and determine its running status through tracking, debugging and analysis, so as to perform remote development. Equipment debugging and program updating.

[0003] In the existing solution, the open source PHP program debugger Xdebug can be used for remote debugging, please refer to figure 1 , figure 1 It is a schematic diagram of the process of Xdebug remote debugging in the prior art. The following will briefly introduce the method of using Xdebug remote debugging:

[0004] In the first step, the integrated development environment (English full name: Integrated Development Environment, English abbrevia...

Examples

Embodiment Construction

[0061] The embodiment of the present invention provides a remote debugging method, related equipment and system, agents can be deployed in the client and the server respectively, since the client agent actively sends the client identification to the server agent, thus bypassing the client Firewall restrictions on the side, so that remote debugging can still be performed under the restrictions of firewall security policies.

[0062] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of practice in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "havi...