Paip. Summary of several methods for program debugging
---- Author Attilax, 1466519819@qq.com ---
1. socketAttach
------------------------
The main method is to define a PORT in the server. The debugging end uses this PORT to communicate with the server ..
JPDA is used in JAVA.
A port is also required for XDEBUG in PHP.
. NET's good direction is not used yet ..
In JAVA, the setting is vm option...-agentlib: jdwp = transport = dt_socket, server = y, suspend = n, address = 8001.
2. sharedMemorty Attacht
---------------------------
When the service is started, define a sharedMemory... and set its NAME. The client uses this NAMAE for connection.
For example, tomcat_shared_memory_id
3. processAttach
------------------
This. NET method is used to attach W3WP for website debugging.
. NET is appended with the process name.
JAVA appends a PID.
4. SOCKET-LISTEN
--------------------
Basically, it is the reverse form of socketAttach.
5. sharedMemortyListen
---------------------------