I know that for the classic Play framework it\'s play debug ~run
. I tried running activator debug ~run
but I get the following error:
[
With the Play framework 2.x:
Inside your project directory, run the activator command like
activator -jvm-debug 9999 run
Once this is done, debug your project as Remote Java Application within your IDE to hook it with the activator process.
Once this is done, you shall be able to break in your code anywhere. :)