On 9/21/2015 8:08 PM, Owen Nelson wrote:
So... unrelated to the previous, I'm wondering if anyone has any details about setting `fork in run := true` in build.sbt while still being able to use the debugger in IntelliJ. When I do this, none of my breakpoints get hit, presumably because the flags for connecting the debugger are being swallowed by sbt and not passed to the forked process.
I'd really like it if my flags passed to sbt would just pass through to the forked jvm but I'm not sure how to implement this in sbt.
Did you try to set javaOptions,
like here:
javaOptions ++= Seq(
"-Xmx512M",
"-Djavafx.verbose"
)
Jarek
--
You received this message because you are subscribed to a topic in the Google Groups "ScalaFX Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalafx-users/VTXa9mjbc6o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scalafx-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, but when intellij launches the app in debug mode, it randomly selects a port to bind on and passes it as a flag to sbt. The question is if it's possible to just pass all the flags along or if I'll have to test for each specific one I want to have carried through explicitly. I'd also hope to be able to set whatever properties I'd want to configure my app, but these would also have to be explicitly handled I'd think.
Even still, if I set the remote debugger details in javaOptions I can connect using IntelliJ's remote debugger tools - more overhead, but ok. Unfortunately I'm still getting a lockup on X without the `-Dsun.awt.disablegrab=true` flag, which in turn breaks the drag and drop events. I'm in a bind if I want to debug and use drag and drop it seems.