![]() ![]() ![]() Install "PHP Debug" extension by Felix Becker and read the instructionsĮnable remote debugging by xdebug by adding this to your php.iniĬreate a testfile, eg home.php and set the debug config to "PHP"Īdd breakpoints and start debugging by pressing the green play icon ![]() Move the downloaded file to C:\laragon\bin\php\php-7.1.14-Win32-VC14-圆4\extĬheck if everything worked by visiting the phpinfo() page again - it should show a section about xdebug nowĮnable validaton in vscode by adjusting the user settings: It was a quite straightforward setup:Ĭreate a file on your server and output phpinfo()Ĭopy the content of this page to the wizard: ĭON'T follow the instructions there, it's simpler with laragon (choose your files and paths of course):ĭownload php_xdebug-2.6.0-7.1-vc14-x86_64.dll I love TracyDebugger, but today I had a hard time debugging some stuff and tried XDebug to get support for breakpoints. ![]()
0 Comments
Leave a Reply. |