IntelliJ, Xdebug and Apache: Difference between revisions

From Geitenpad
Jump to navigation Jump to search
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..."
 
m 1 revision imported
 
(No difference)

Latest revision as of 14:34, 5 January 2025

  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