Skip to main content

Xdebug

2021


How to Set up VS Code to use PHP with Xdebug 3 on Windows

·11 mins
VS Code with PHP and Xdebug 3 Xdebug 3 is an extremely powerful debugging tool for PHP. Although print_r(), var_dump() and dd() have their uses, Xdebug gives more powerful debugging options: step debugging allows the ability to view execution of each line of code, including the ability to view all variables and their values. Code coverage is useful to identify untested code, or code which is never executed (dead code).

Standard setup for PHP projects 2021

·18 mins
The focus of this blog is to help set up PHP Projects in PhpStorm. I have also included snippets from my side-projects. I hope the information will be useful for other PHP projects. This is a follow-up to my blog Standard Setup for PHP projects from 2020.