You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,7 @@ Options specific to CLI debugging:
125
125
- Run without debugging
126
126
- DBGp Proxy registration and unregistration support
127
127
- Xdebug Cloud support
128
+
- Xdebug Control Sockets
128
129
129
130
## Remote Host Debugging
130
131
@@ -150,6 +151,16 @@ The official implementation of the [dbgpProxy](https://xdebug.org/docs/dbgpProxy
150
151
151
152
A _Xdebug helper_ browser extension is also recommended. There the request side IDE key can be easily configured.
152
153
154
+
## Xdebug Control Sockets
155
+
156
+
With Xdebug 3.5+, a new feature enables IDEs to trigger pauses in PHP execution. This extension supports Xdebug Control Sockets in two ways:
157
+
158
+
1.**Pause during active debugging**: The _pause_ button triggers a control socket pause command, allowing you to pause PHP execution even in loops without breakpoints.
159
+
160
+
2.**Pause any PHP process**: The VS Code command `Pause PHP process (Xdebug Control Socket)` lists all PHP Control Sockets on your system, letting you pause any process or initiate a debug connection. Ensure the debugger is listening for incoming connections.
161
+
162
+
For setup instructions, see the [Xdebug control_socket documentation](https://xdebug.org/docs/step_debug#control_socket).
163
+
153
164
## Troubleshooting
154
165
155
166
- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/xdebug)
0 commit comments