0. Assumptions You've installed Xdebug in your VM. You've installed Xdebug extension for VSCode and reloaded/restarted VSCode. You have not forwarded port 9000 from the guest to the host. Configure Debugger in VSCode. See item 1 next. 1. Configure .vscode/launch.json