bernhard Posted March 10, 2023 Posted March 10, 2023 v3.16.0 adds an xDebug launch.json file to the .vscode folder and a checkbox to control whether you want to use that feature or not. That means if you are using DDEV all you need to do to is to check the checkbox and then run "ddev xdebug on" Thx @dotnetic for the hint about xDebug on DDEV! I've just tried it today and it works great! compared to my last experience with xdebug on laragon where performance was really bad the performance on my ddev container is so good that I even forgot to turn it off today ? Page load times without xdebug: 100ms; with xdebug: 150ms ? And all that with zero-config!!! You have to try it ? See here how to use xdebug in vscode: https://www.youtube.com/watch?v=HrQWtbxY1Hs&t=331s 2
MarkE Posted March 10, 2023 Posted March 10, 2023 Probably worth mentioning that since moving to ddev, I have found that xdebug works well with PhpStorm too. Much better than Laragon. My mileage! 1
bernhard Posted March 11, 2023 Author Posted March 11, 2023 Yeah just my RockMigrations checkbox is only for VSCode. But if you tell me what is necessary for PHPStorm I can maybe add that as well?
MarkE Posted March 11, 2023 Posted March 11, 2023 8 hours ago, bernhard said: what is necessary for PHPStorm Nothing really. You just make sure PhpStorm is listening then run “ddev debug”. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now