There's a series on Visual Code with a lesson dedicated to debugging:
https://laracasts.com/series/visual-studio-code-for-php-developers/episodes/13
or check this post you may find something helpfull Here