youtube image
From YouTube: Debugging Code in No Time with DDEV-Local, PhpStorm, and Xdebug

Description

No more print-line debugging! The combination of PhpStorm and DDEV-Local's plug-and-play approach to debugging enables you to easily create a working debug environment in just a few minutes. In this screencast, we’ll walk you through using macOS — but it works exactly the same on Windows, Linux, and WSL2.

Short on time? Skip to the good stuff:
Overview (0:51)
Installing DDEV-Local (0:59)
Installing PhpStorm (1:40)
Creating a PhpStorm project and setting a breakpoint (2:24)
Configure DDEV project (3:18)
ddev xdebug on (4:12)
Creating a PhpStorm "server" or "mapping" automatically (5:14)
First breakpoint! (5:42)
Command-line debugging (8:00)
Resources (9:58)

Resources:
Get started with the DDEV-Local Docs: https://bit.ly/3hqjz1Q
Read up on step debugging with DDEV and Xdebug: https://bit.ly/3nWq3bc
Start using PhpStorm with WSL2: https://bit.ly/3rzph62
Looking for a little help? Get in touch: https://bit.ly/34PVLiC
If you’re ready to deploy, check out our web hosting solution: DDEV-Live: https://bit.ly/3rCdAf9