Skip to content

Instantly share code, notes, and snippets.

@farhan4648gul
Created July 12, 2023 11:46
Show Gist options
  • Save farhan4648gul/d32d2ef134d6140f6c80649a79032db9 to your computer and use it in GitHub Desktop.
Save farhan4648gul/d32d2ef134d6140f6c80649a79032db9 to your computer and use it in GitHub Desktop.
// for suite project
// File Contents are below:
{
"folders": [
{
"path": "SuiteCRM-Core"
},
{
"path": "../sym/guestbook2"
}
],
"settings": {
"editor.tokenColorCustomizations": {},
"window.commandCenter": false
},
"launch": {
"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",
"request": "launch",
"runtimeArgs": [
"-dxdebug.mode=debug",
"-dxdebug.start_with_request=yes",
"-S",
"localhost:0"
],
"program": "",
"cwd": "${workspaceRoot}",
"port": 9003,
"serverReadyAction": {
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment