2014-05-17 13 views
4

나는 activator -jvm-debug 9999 run 명령, debug play framework 2.3에 노력하고 있지만, 다음과 같은 오류에 직면하고있다 :디버깅 재생 2.3 - Windows에서 Java 8 및 활성 자 -jvm-debug가있는 RC1이 가능합니까?

E:\workspace\CustomerClub>activator -jvm-debug 9999 run 
[info] Loading project definition from E:\workspace\CustomerClub\project 
[info] Set current project to CustomerClub (in build file:/E:/workspace/CustomerClub/) 
[warn] The `-` command is deprecated in favor of `onFailure` and will be removed in 0.14.0 
[error] Expected letter 
[error] Expected symbol 
[error] Expected '!' 
[error] Expected '+' 
[error] Expected '++' 
[error] Expected 'debug' 
[error] Expected 'info' 
[error] Expected 'warn' 
[error] Expected 'error' 
[error] Expected ';' 
[error] Expected end of input. 
[error] Expected '--' 
[error] Expected 'show' 
[error] Expected 'all' 
[error] Expected '*' 
[error] Expected '{' 
[error] Expected project ID 
[error] Expected configuration 
[error] Expected key 
[error] Expected '-' 
[error] 9999 
[error]^
[error] Not a valid command: jvm-debug 
[error] Not a valid project ID: jvm-debug 
[error] Expected ':' (if selecting a configuration) 
[error] Not a valid key: jvm-debug 
[error] jvm-debug 
[error]  ^

나는이 아마 Windows에서 활성제 버그 자바 (8)에게 갱신 5

+1

Windows의 Activator 버그처럼 보입니다. 가장 좋은 방법은 여기에서 문제를 신고하는 것입니다. https://github.com/typesafehub/activator/issues –

답변

1

Mac에서도 같은 문제가 발생했습니다. 액티베이터를 1.2.3에서 1.2.12로 업그레이드하면 작동이 시작됩니다.

+0

Activator는 실행할 때 자동으로 업그레이드해야합니다. –

4

를 사용하고 (참조 내 논평). 그 동안 JAVA_OPTS를 설정하여 VM에 디버그 옵션을 수동으로 제공 할 수 있습니다.

사용해보기 :

> set JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999" 
> activator 
+0

Mac에서 동일한 문제가 발생하므로 Windows가 아닌 것 같습니다 – Christiaan

+0

문제를 신고 해 주시겠습니까? github.com/typesafehub/activator/issues. 그렇게한다면 사람들이 문제가 해결되는 시점을 알 수 있도록 여기에 댓글로 링크를 공유 할 수 있습니다. :) –

+0

이미 해결 된 것 같습니다. 내 대답보기 : http://stackoverflow.com/a/27483633/188947 – Christiaan