7. Set initial path mappings
Switch to PhpStorm and set the initial path mappings by selecting the path to the local copy of the script that you are debugging. These paths are similar if you are editing files directly on the server. The “Incoming Connection” dialog should appear automatically.Image Removed; you'll see the Incoming Connection From Xdebug dialogue. You'll now need to select the path mappings so that PhpStorm can map the remote files on the web server to the local files in your project. If you have a deployment configured, then PhpStorm will offer to configure the mappings based on the paths you've already set in that deployment.
If you have no deployment configured (or if the file mappings in the deployment are different), then you can select a manual file to use for this incoming debugger session.
After reaching the breakpoint the debugger is suspended. Now let’s investigate the application.