edit nginx conf to run php


copy phpinfo(); to https://xdebug.org/wizard and follow the command

add this code to /etc/php/7.2/fpm/php.ini

1 | zend_extension = /usr/lib/php/20170718/xdebug.so |
install php debug in vscode and default lauch.json is just ok!

make sure the listen port is same(9000 there!)
debug it in firefox!
