Enable Xdebug in MS Visual Studio Code using WAMP server

Channel:
Subscribers:
36
Published on ● Video Link: https://www.youtube.com/watch?v=47kbG7W_UtY



Duration: 10:12
8,925 views
72


Download xdebug here: https://xdebug.org/download.php
Make sure that you choose your version of PHP

Settings for php.ini file:

[xdebug]
zend_extension="|| location of wamp ||/zend_ext/php_xdebug-2.7.2-7.3-vc15-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = Off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp/tmp"
xdebug.show_local_vars=0

After you download xdebug .dll file enable it under the PHP extensions in WAMP if available and then check if some of these settings appeared in php.ini.

If you have any problems comment in the section below.

Cheers. :)







Tags:
php
ms
visual studio code
vsc
wamp
xdebug
debugging
debug
extension
plugin
programming
code
script