- Add JAVA_OPTS in .env file with
-Xdebug -Xrunjdwp:transport=dt_socket,address=9090,server=y,suspend=n - Run
heroku local web - Add Remote Configuration in IntelliJ with Host:
localhostand Port:9090
Reference: https://stackoverflow.com/questions/39838330/heroku-local-web-debug-with-intellij-idea