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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,20 +46,20 @@ This extension is a debug adapter between VS Code and [Xdebug](https://xdebug.or
46
46
In your project, go to the debugger and hit the little gear icon and choose _PHP_. A new launch configuration will be created for you with two configurations:
47
47
48
48
-**Listen for Xdebug**
49
-
This setting will simply start listening on the specified port (by default 9000) for XDebug. If you configured XDebug like recommended above, everytime you make a request with a browser to your webserver or launch a CLI script Xdebug will connect and you can stop on breakpoints, exceptions etc.
49
+
This setting will simply start listening on the specified port (by default 9000) for Xdebug. If you configured Xdebug like recommended above, everytime you make a request with a browser to your webserver or launch a CLI script Xdebug will connect and you can stop on breakpoints, exceptions etc.
50
50
-**Launch currently open script**
51
51
This setting is an example of CLI debugging. It will launch the currently opened script as a CLI, show all stdout/stderr output in the debug console and end the debug session once the script exits.
52
52
53
53
#### Supported launch.json settings:
54
54
55
55
-`request`: Always `"launch"`
56
-
-`hostname`: The address to bind to when listening for XDebug (default: all IPv6 connections if available, else all IPv4 connections)
56
+
-`hostname`: The address to bind to when listening for Xdebug (default: all IPv6 connections if available, else all IPv4 connections)
57
57
-`port`: The port on which to listen for Xdebug (default: `9000`)
58
58
-`stopOnEntry`: Whether to break at the beginning of the script (default: `false`)
59
59
-`pathMappings`: A list of server paths mapping to the local source paths on your machine, see "Remote Host Debugging" below
60
60
-`log`: Whether to log all communication between VS Code and the adapter to the debug console. See _Troubleshooting_ further down.
61
61
-`ignore`: An optional array of glob patterns that errors should be ignored from (for example `**/vendor/**/*.php`)
62
-
-`xdebugSettings`: Allows you to override XDebug's remote debugging settings to fine tuning XDebug to your needs. For example, you can play with `max_children` and `max_depth` to change the max number of array and object children that are retrieved and the max depth in structures like arrays and objects. This can speed up the debugger on slow machines.
62
+
-`xdebugSettings`: Allows you to override Xdebug's remote debugging settings to fine tuning Xdebug to your needs. For example, you can play with `max_children` and `max_depth` to change the max number of array and object children that are retrieved and the max depth in structures like arrays and objects. This can speed up the debugger on slow machines.
63
63
For a full list of feature names that can be set please refer to the [Xdebug documentation](https://xdebug.org/docs-dbgp.php#feature-names).
64
64
-`max_children`: max number of array or object children to initially retrieve
65
65
-`max_data`: max amount of variable data to initially retrieve.
@@ -132,4 +132,4 @@ VS Code will open an "Extension Development Host" with the debug adapter running
132
132
133
133
The extension is written in TypeScript. You can compile it through `npm run build`. `npm run watch` enables incremental compilation.
134
134
135
-
Tests are written with Mocha and can be run with `npm test`. The tests are run in CI on Linux, macOS and Windows against multiple PHP and XDebug versions.
135
+
Tests are written with Mocha and can be run with `npm test`. The tests are run in CI on Linux, macOS and Windows against multiple PHP and Xdebug versions.
Copy file name to clipboardExpand all lines: package.json
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"version": "0.0.0-development",
5
5
"publisher": "felixfbecker",
6
6
"license": "MIT",
7
-
"description": "Debug support for PHP with XDebug",
7
+
"description": "Debug support for PHP with Xdebug",
8
8
"keywords": [
9
9
"php",
10
10
"debug",
@@ -196,12 +196,12 @@
196
196
},
197
197
"hostname": {
198
198
"type": "string",
199
-
"description": "Address to bind to when listening for XDebug",
199
+
"description": "Address to bind to when listening for Xdebug",
200
200
"default": "::"
201
201
},
202
202
"port": {
203
203
"type": "number",
204
-
"description": "Port on which to listen for XDebug",
204
+
"description": "Port on which to listen for Xdebug",
205
205
"default": 9000
206
206
},
207
207
"serverSourceRoot": {
@@ -250,15 +250,15 @@
250
250
"description": "This feature can get set by the IDE if it wants to have more detailed internal information on properties (eg. private members of classes, etc.) Zero means that hidden members are not shown to the IDE"
251
251
}
252
252
},
253
-
"description": "Overrides for XDebug remote debugging settings. See https://xdebug.org/docs-dbgp.php#feature-names",
253
+
"description": "Overrides for Xdebug remote debugging settings. See https://xdebug.org/docs-dbgp.php#feature-names",
/** A map from unique VS Code variable IDs to XDebug eval result properties, because property children returned from eval commands are always inlined */
140
+
/** A map from unique VS Code variable IDs to Xdebug eval result properties, because property children returned from eval commands are always inlined */
0 commit comments