IntelliJ, Xdebug and Apache
Jump to navigation
Jump to search
- 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 chrome browser extension: https://www.jetbrains.com/help/phpstorm/browser-debugging-extensions.html
- Browse naar page
- Configure IntelliJ (check config, break on first line, port 9000)
- Start listening on remote extensions (debug with telephone icon)
- Click debug in browser extension and refresh page