You may need to change these xdebug settings according your situation (for example using another client port), you can see the list of all possible parameters running "phpinfo()".
#PHPRAD VS SCRIPTCASE VS PHP RUNNER HOW TO#
The website will answer to you the correct xdebug module version to download (Example: php_xdebug-3.0.4-7.4-vc15-x86_64.dll"), also it will tell you how to install it, which directory and the reference to include on PHP.ini.Įnable xdebug settings to debug mode and enabling the remote step debugger on PHP.ini as the following example that I have used Run a PHP page calling " phpinfo() " and copy the output content (yes, you can select all text and Ctrl+ C) and paste on Just done it now in 2021 using xdebug (v3.x), some steps were different, so I am going to cite more details:
![phprad vs scriptcase vs php runner phprad vs scriptcase vs php runner](https://www.saashub.com/images/app/service_logos/18/f513090e021f/large.png)
If you are unsure about XDebug installation, check phpinfo page for "with Xdebug" words and check logs/apache_errors.log for "failed loading php_xdebug" (incorrect DDL downloaded). ace_output_dir = "C:\wamp64\tmp"įor some reason I first got xdebug working on Netbeans for testing, and only then I found option xdebug.remote_autostart = 1 in manual that made it working in VS Code also. Xdebug.remote_log = "C:\wamp64\tmp\xdebug.txt"
![phprad vs scriptcase vs php runner phprad vs scriptcase vs php runner](https://www.freelancinggig.com/blog/wp-content/uploads/2018/02/Phalcon-vs-Laravel-360x200.png)
xdebug.profiler_output_name = "cachegrind.out.%t-%s" Xdebug.profiler_output_dir ="c:/wamp64/tmp" Xdebug.profiler_output_name = cachegrind.out.%t.%p and configure it with xdebug.remote_enable = 1 and xdebug.remote_autostart = 1. But phpinfo makes it clear showing which one is really used)Ģ.1. Open shown in instruction php.ini ( there are always many php.ini - apache folder has one php.ini, php has php.ini and phpForApache.ini. It shows you obtained info and steps to do: Then open in browser localhost/phpinfo.php, copy everything you see ( Ctrl+A then Ctrl+C) to wizard. Online Wizard helps you, just post here phpinfo() data. We have OS Windows with Microsoft Visual Code and we have installed ' PHP Debug' module Steps to make it working already wroten here, but I'll write again: