|
@@ -4,27 +4,6 @@
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
"version": "0.2.0",
|
|
|
"configurations": [
|
|
|
- {
|
|
|
- "name": "Listen for Xdebug",
|
|
|
- "type": "php",
|
|
|
- "request": "launch",
|
|
|
- "port": 9003
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "Launch currently open script",
|
|
|
- "type": "php",
|
|
|
- "request": "launch",
|
|
|
- "program": "${file}",
|
|
|
- "cwd": "${fileDirname}",
|
|
|
- "port": 0,
|
|
|
- "runtimeArgs": [
|
|
|
- "-dxdebug.start_with_request=yes"
|
|
|
- ],
|
|
|
- "env": {
|
|
|
- "XDEBUG_MODE": "debug,develop",
|
|
|
- "XDEBUG_CONFIG": "client_port=${port}"
|
|
|
- }
|
|
|
- },
|
|
|
{
|
|
|
"name": "Launch Built-in web server",
|
|
|
"type": "php",
|
|
@@ -51,6 +30,27 @@
|
|
|
"APP_DEBUG": "true",
|
|
|
"LOG_LEVEL": "debug"
|
|
|
}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "Listen for Xdebug",
|
|
|
+ "type": "php",
|
|
|
+ "request": "launch",
|
|
|
+ "port": 9003
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "Launch currently open script",
|
|
|
+ "type": "php",
|
|
|
+ "request": "launch",
|
|
|
+ "program": "${file}",
|
|
|
+ "cwd": "${fileDirname}",
|
|
|
+ "port": 0,
|
|
|
+ "runtimeArgs": [
|
|
|
+ "-dxdebug.start_with_request=yes"
|
|
|
+ ],
|
|
|
+ "env": {
|
|
|
+ "XDEBUG_MODE": "debug,develop",
|
|
|
+ "XDEBUG_CONFIG": "client_port=${port}"
|
|
|
+ }
|
|
|
}
|
|
|
]
|
|
|
}
|