Recently I was setting up Drupal development environment with docksal. I used traditional drupal composer setup ( https://github.com/drupal-composer/drupal-project ) so drupal is in the /web folder on the server.
I have mapped main root folder inphp Storm[ image 1 ]
So I was really surprised when I started my debugging session and discovered some weird file being started.[ image 2 ]
Looks like PHP Storm tries to find first index.php it can find and then starts session like it is being debugged.
Solution for this is to map folder "web" and actual index.php so PHP Storm can find proper file easier.[ image 3 ] [ image 4 ]
本文开发（php）相关术语:php代码审计工具 php开发工程师 移动开发者大会 移动互联网开发 web开发工程师 软件开发流程 软件开发工程师