Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2020-02-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, the method of using Xdebug remote debugging can only be applied in a network environment without firewall security policy restrictions, but in most cases, the local development machine network has firewall security policy restrictions, so in the Xdebug remote debugging method The first In the three steps, PHP will not be able to establish a connection due to the firewall mechanism of the local development machine, which will also prevent remote debugging between devices.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A remote debugging method, related equipment and system
  • A remote debugging method, related equipment and system
  • A remote debugging method, related equipment and system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

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.

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...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08G06F11/36
CPCG06F11/3688H04L67/02H04L67/34
Inventor 朱春林陈和马绍春
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products