Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Image Added

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.

Image Added

8. Debug!

After reaching the breakpoint the debugger is suspended. Now let’s investigate the application.

...