IntelliJ, Xdebug and Apache

From Geitenpad
Revision as of 12:44, 23 February 2019 by Rijk (talk | contribs) (Created page with "# Install apache with php and php_xdebug # Enable remote debug: rijk@RijksKReich:~$ sudo vim /etc/php/7.2/mods-available/xdebug.ini # Add xdebug.remote_enable = 1 # Install c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Install apache with php and php_xdebug
  2. Enable remote debug:
rijk@RijksKReich:~$ sudo vim /etc/php/7.2/mods-available/xdebug.ini
  1. Add xdebug.remote_enable = 1
  2. Install chrome browser extension: https://www.jetbrains.com/help/phpstorm/browser-debugging-extensions.html
  3. Browse naar page
  4. Configure IntelliJ (check config, break on first line, port 9000)
  5. Start listening on remote extensions (debug with telephone icon)
  6. Click debug in browser extension and refresh page