I’m trying to find a way to debug my play2 app on heroku.
I would like to connect my debuger (from idea) to it that I can check what’s going on.
I tried to launch my app in debug mode but I don’t know how to do this. Maybe through the Procfile ?
I also tried to connect myself on the server with heroku run bash and find the play command to launch my app with play debug run but I wasn’t able to do so. Is that possible ?
Thank you for your time !
No, you can’t as the port won’t be available to connect.
Your only chance is to add extensive debug logging and enable
DEBUGlevel onapplication.confso you see what’s going on.