I set up my debugger today and created this quick video to help you in case you want to debug PHP in Visual Studio Code.
Settings to enter in PHP.ini (from the video)
zend_extension = xdebug
[XDebug]
xdebug.mode = debug
xdebug.start_with_request = yes