1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // 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 Built-in web server",
- "type": "php",
- "request": "launch",
- "program": "${workspaceRoot}/artisan",
- "args": [
- "serve",
- "--port=80",
- "--host=127.0.0.1"
- ],
- "runtimeArgs": [
- "-dxdebug.mode=debug",
- "-dxdebug.start_with_request=yes",
- "-dxdebug.log_level=7"
- ],
- "cwd": "${workspaceRoot}",
- "port": 9003,
- "serverReadyAction": {
- "pattern": "Development Server \\(http://127.0.0.1:80\\) started",
- "uriFormat": "http://127.0.0.1:80",
- "action": "openExternally"
- },
- "env": {
- "APP_DEBUG": "true",
- "LOG_LEVEL": "debug"
- }
- },
- {
- "name": "Launch currently open script",
- "type": "php",
- "request": "launch",
- "program": "${file}",
- "cwd": "${fileDirname}",
- "port": 0,
- "runtimeArgs": [
- "-dxdebug.mode=debug",
- "-dxdebug.start_with_request=yes",
- "-dxdebug.log_level=7"
- ],
- "env": {
- "XDEBUG_MODE": "debug,develop",
- "XDEBUG_CONFIG": "client_port=${port}"
- }
- }
- ]
- }
|