Phpstorm xdebug helper1/26/2024 ![]() Usually, at work, when I want to debug stuff, I add xdebugbreak() somewhere near the offending code line, turn on 'Start listening for PHP Debug Connections', and then it would stop at that point, waiting for me to manually continue. I have attached the screen shot for reference.Ĭan any one help me, please? Almost every thing is done to enable moodle debug on Phpstorm, but I feel some silly mistake I am doing somewhere and failing to debug the moodle code. I want to use Xdebug at home using XAMPP, but I'm not sure how to set it up. And an error message is appearing in the browser " Web server software (PhpStorm 7.0) is not supported, sorry". Debugging, profiling and tracing PHP code with Xdebug is very powerful, but enabling Xdebug with cookies or adding POST/GET variables is cumbersome This extension will help you to enable/disable debugging, profiling and tracing easily. I have opened the file C:\BitNami\wampstack-5.4.23-0\apps\moodle\htdocs\login\index.php in phpstorm and set up the debugging points at few locations, but now when I log in to moodle, the debugging point are not getting triggered, I don't know, where I am going wrong.Īnother thing I did was, in php storm I have right clicked C:\BitNami\wampstack-5.4.23-0\apps\moodle\htdocs\login\index.php then selected open in browser, then the url localhost:63343/moodle/htdocs/login/index.php, is getting formed in browser, please note the port it is 63343 but not 8085 which I have given. To trigger debugging, it’s necessary to send a special cookie along with each page request you wish to debug: XDEBUGSESSIONPHPSTORM. In C:\BitNami\wampstack-5.4.23-0\php\php.ini, I even changed xdebug.remote_host=127.0.0.1:8085 also, and xdebug.remote_port=9001 (as 9000 is busy I changed it to 9001). I have installed the XDebug helper for chrome and PhpStorm is listening for incoming php debug connections.json file for you in the. In Php storm XDebugger is enabled nicely. Step 3: In PhpStorm Settings/Preferences dialog (Ctrl+Alt+S), select Languages & Frameworks PHP. Step 2: Install Xdebug helper extension in the Chrome browser to receive the details from the browser to PhpStorm. I am using Phpstorm to do my development/debugging the moodle code. You can install Xdebug on a remote server and debug the code execution locally using Xdebug and PhpStorm. Now, we need to configure Xdebug with PhpStorm. ![]() ![]() ![]() I have installed moodle 2.6, on Bitnami wampstack 5.4 on WINDOWS 07., Moodle is working fine with localhost:8085/moodle. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |