Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using XDebug in Atom Editor

Using XDebug in Atom Editor

Install the XDebug plugin for Atom and then add the following to the config.cson file (Atom > Config…):

  PathMaps: [
  ServerPort: 9001

Note: The trailing slashes and full paths are important, or breakpoints will be ignored. The default port is 9000. Use 9001 to avoid clashes with PHP-FPM.

Install the Chrome XDebug Helper extension and set the IDE key in the options to the value in your /xdebug.ini. You can then click on the extention to enable or disable XDebug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.