Skip to content

Commit ee639c7

Browse files
committed
Docs.
1 parent 0194383 commit ee639c7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Options specific to CLI debugging:
125125
- Run without debugging
126126
- DBGp Proxy registration and unregistration support
127127
- Xdebug Cloud support
128+
- Xdebug Control Sockets
128129

129130
## Remote Host Debugging
130131

@@ -150,6 +151,16 @@ The official implementation of the [dbgpProxy](https://xdebug.org/docs/dbgpProxy
150151

151152
A _Xdebug helper_ browser extension is also recommended. There the request side IDE key can be easily configured.
152153

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+
153164
## Troubleshooting
154165

155166
- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/xdebug)

0 commit comments

Comments
 (0)