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
1. Install necessery [PHP extension for VScode](https://marketplace.visualstudio.com/items?itemName=DEVSENSE.phptools-vscode).
52
+
2. Add [debug configuration](https://code.visualstudio.com/docs/editor/debugging#_launch-configurations) into your `.vscode\launch.json` file.
53
+
54
+
Example:
55
+
56
+
```
57
+
{
58
+
"name": "Listen for Xdebug",
59
+
"type": "php",
60
+
"request": "launch",
61
+
"port": 9003,
62
+
"pathMappings": {
63
+
"/app": "${workspaceFolder}"
64
+
}
65
+
}
66
+
```
67
+
68
+
3. Use [Run and Debug](https://code.visualstudio.com/docs/editor/debugging) options and run `Listen for Xdebug` command to listen for upcomming connections with [the **Xdebug extension**](https://xdebug.org/docs/step_debug#browser-extensions) installed and active.
69
+
49
70
## Troubleshooting
50
71
51
72
Inspect the installation with the following command. The Xdebug version should be displayed.
0 commit comments