![]() ![]() Jeffrey Way, in a spooky coincident, released a video on xdebug the exact same day I found the time to finally set it up :). ![]() I wanted to be able to set a breakpoint, work normally in my app and be taken to it when the code execution hits that line. Some time ago I got a new job (conveniently starting the post with the excuse for not blogging anything for a long time) working on the architecture of a pretty complex software the kind of beast I’ve never worked on in php, so after some time I felt the need of a good debugging setup. ℹ️About GitHub Wiki SEE, a search engine enabler for GitHub WikisĪs GitHub blocks most GitHub Wikis from search engines.Debugging Laravel Apps On Homestead ←Back Home About Debugging Laravel Apps On Homestead Setting up XDebug with Laravel Homestead Then you can include this cookie in your POST/PATCH/GET/PUT/DELETE/etc request and activate your breakpoints via XDebug. Then you can follow Postman's help to set a cookie like XDEBUG_SESSION=PHPSTORM path=/ domain=localhost You must use the native application (not the browser app). To test how your code handles REST requests you can't simply use curl as it won't send the necessary cookie to get XDebug to send your information. The test in the source article worked for me and I hope it works for you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |