You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2015/10/09 23:41:05 UTC
[jira] [Commented] (SM-2674) Remote Debug
[ https://issues.apache.org/jira/browse/SM-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951246#comment-14951246 ]
Krzysztof Sobkowiak commented on SM-2674:
-----------------------------------------
To enable the debug mode you must set the {{KARAF_DEBUG}} variable before you start ServiceMix (http://karaf.apache.org/manual/latest-3.0.x/developers-guide/debugging.html)
{code}
set KARAF_DEBUG=true
servicemix.bat
{code}
Have you tried this?
> Remote Debug
> ------------
>
> Key: SM-2674
> URL: https://issues.apache.org/jira/browse/SM-2674
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 6.0.0
> Environment: Windows
> Reporter: Ish Asokan
> Priority: Minor
> Labels: features
> Fix For: 6.0.x
>
>
> In apache-servicemix-6.0.0, I try to modify smx.bat to remote debug by changing suspend=y as in
> set DEFAULT_JAVA_DEBUG_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
> It did not work and found that KARAF_DEBUG was always blank which skipped setting the JAVA_DEBUG_OPTS to JAVA_OPTS. I was able to debug only after commenting the below check.
> //if "%KARAF_DEBUG%" == "" goto :KARAF_DEBUG_END
>
> Am I missing some patch which is already done for this?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)