Debug PHP with VS Code and Windows Subsystem for Linux (WSL)

preview_player
Показать описание
In this video, I show how to set up XDebug with PHP in WSL (Windows Subsystem for Linux) and use it with Visual Studio Code. Watch until the end to see my reaction to the developer experience and what I think it means for the PHP community.

Mentioned in this video:

Рекомендации по теме
Комментарии
Автор

This helped me a lot, thanks, and for those who are having problems with version 3, just follow the same steps from PHP Debug and use this settings:
xdebug.mode = debug
xdebug.start_with_request = yes

ramsesdelr
Автор

hello, I am also most comfortable with "vi" like you. Vi is the best editor in the world, everyone should learn this before using computers.

attilakatona
Автор

Thank you so much for sharing!! Now I am able for debugging in WSL2

pablomerener
Автор

Thank you so much! It helps a lot making use of WSL and Vscode!! Congratulations.

paviomuniz
Автор

I really appreciate it this video. I'm really loving my new php development environment with WSL. I was using Windows php, mysql, and IIS for hosting and xdebug worked well, but I get inconsistencies when it comes to the default document root and other quirks.

mandy
Автор

Thanks for sharing this tutorial, it helped me a lot!

amauryrodrigo
Автор

thank you very much
it's helpful video for me

цензураговно
Автор

thanks. I just learn docker, php, wsl2 and VS code

AbdulAziz-yzwd
Автор

Hi Brain! Thanks for sharing your experience! I having a problem with my instalation of vscode just after I update vscode. Now I can't put breakpoints in the code I don't know why. I will be grateful if can give me a clue about can be happening

carlosyjosi
join shbcf.ru