I have 2 projects: [Backend-project, Frontend-project] Both are using Laravel framework and both are hosted on same vagrant box under same nginx, I am using PhpStorm IDE, I successfully managed to configure xdebug for projects (separately)
Xdebug config as following for both projects:
zend_extension=xdebug.so
xdebug.remote_connect_back = 1
xdebug.remote_enable = 1
xdebug.remote_host = 192.168.66.7
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp
xdebug.remote_autostart = 1
Frontend-project talk to Backend-project through and API, I have full access to both projects.
My question is how can I configure xdebug so when I make a request from frontend-project to Backend-project.
I mean I want to put break point on Backend-project and do a request from frontend-project.