How to install lnmp in docker docker in vmware how to use phpstorm debug?

install docker in vmware
install lnmp environment in docker
how to use phpstorm debug
has been unsuccessful for a long time
as to why installing such an arduous environment is because there are so many holes in windows installing docker, we use vmware to install docker to develop
ask God to solve the problem

Jun.06,2022

answer it yourself. First of all, php installs xdebug and asks phpstorm for the configuration of xdebug. No use
, and then phpstorm's button to open debug (that is, the green phone thing in the upper right corner)
breakpoint is set in the entry file. It is convenient for you to debug
the request interface will enter the breakpoint without accident. At this time, phpstorm should pop up and he will automatically generate a servers configuration for you. Turn off breakpoint debugging
and then enter the setting configuration. Configure the automatically generated files under PHP under language&frameworks
file correspondence
file correspondence to the local file address corresponding to the absolute path of the file in docker
so configure ok

Menu