Order A Website

These are the general instructions to install and use Xdebug with Local on a Mac. Version 8.2.0+6554 of Local was used.

Add Run Configuration to VS Code:
Add Run Configuration to VS Code

Install PHP Debug plugin in VS Code:
PHP Debug in VS Code

Toggle Xdebug on:
Toogle Xdebug on

Install Xdebug Helper Chrome plugin:

Set a breakpoint in the WP code:
Xdebug Breakpoint in VS Code

Start Debugging in VS Code:
Start Debugging in VS Code

Refresh the website in browser, and the debug session should trigger:

Switch back to VS Code, and you can step into the code:
Debug in VS Code