How to set the JVM settings?

410 views
Skip to first unread message

李鹏

unread,
Mar 31, 2010, 12:30:19 AM3/31/10
to play-framework

Hi, all:

    I want to debug the play web application with JProfiler. I create a romote application session on localhost, and it says I need to insert the following code into JVM settings:

    "-agentpath:D:\PROGRA~1\JPROFI~2\bin\windows\jprofilerti.dll=port=8849"

   But I don't know where to put it, somebody helps me?

 

Guillaume Bort

unread,
Mar 31, 2010, 2:36:29 AM3/31/10
to play-fr...@googlegroups.com
Try to add it after the play run command.

play run yourApp


-agentpath:D:\PROGRA~1\JPROFI~2\bin\windows\jprofilerti.dll=port=8849

> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
>

Chanan Braunstein

unread,
May 21, 2013, 2:22:57 PM5/21/13
to play-fr...@googlegroups.com
Is this still correct for Play 2.1? It seems like the jvm options are being ignored when doing play run. I also tried with -Dagentpath

Grant Beaty

unread,
May 21, 2013, 5:57:46 PM5/21/13
to play-fr...@googlegroups.com
I edit /framework/build under the play2 install directory.

/Grant

volker...@eligotech.com

unread,
May 27, 2013, 3:03:34 AM5/27/13
to play-fr...@googlegroups.com
I am using start instead of run, so

sbt "start -D..."

works for me.
Reply all
Reply to author
Forward
0 new messages