Before I purchased Devsense I had already enabled XDebug and was debugging using my local machine and MAMP pretty decently. Nothing seems to have changed on that end, but was curious if I was missing out on some better debugging in PHP from Devsense tools? I love the references and all the extra menus and options and it's helped tremendously for re-factoring my code.
I am just curious if I should be disabling my current XDebug configuration and starting a brand new one or allowing Devsense plugin to do the debugging differently than I already had setup?
Here is what I think is being used by my current setup to debug successfully. But I have always been confused about the port: 9000 and 8000 difference, but I think in MAMP files I originally setup the xDebug to listen on port 9000 maybe?
Does the Devsense debugger need MAMP running at all?
If Not, what about local MysQL ? Is that still through MAMP?
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"hostname": "local.MYDOMAINHERE.com",
"port": 9000
},
{
"name": "Launch built-in server and Debug",
"detail": "Launches PHP's built-in development server and starts debugging. (Root: \".\")",
"type": "php",
"request": "launch",
"noDebug": false,
"runtimeArgs": [
"-S",
"localhost:8000",
"-t",
"."
],
"serverReadyAction": {
"action": "openExternally"
},
"envfile": ".env"
}
]
}