[ 
https://issues.apache.org/jira/browse/CAMEL-20431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818261#comment-17818261
 ] 

Claus Ibsen commented on CAMEL-20431:
-------------------------------------

This is not expected that you can do this with any kind of mixed versions. Only 
recent version of Camel has latest debugger and whatnot. So try with latest 
4.0.x version


> Run and debug route with 'org.apache.camel.debugger.suspend=true' property is 
> not working for different jbang cli and --camel-version versions
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20431
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20431
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.3.0
>            Reporter: Dominik Jelinek
>            Priority: Minor
>
>  
> Running route with 'org.apache.camel.debugger.suspend=true' property is not 
> working for different jbang and --camel-version versions
> For example below, the execution will not wait till debugger is attached, 
> which indicates also missing "camel.impl.debugger.BacklogDebugger : A 
> debugger has been attached" message in logs
> {code:java}
> jbang '-Dcamel.jbang.version=4.3.0' 
> '-Dorg.apache.camel.debugger.suspend=true' camel@apache/camel run 'demo 
> route.camel.yaml' --dev --logging-level=info 
> '--dep=org.apache.camel:camel-debug' --camel-version=4.0.0 {code}
>  
>  
> Workaround exists:
>  * export env variable  "CAMEL_DEBUGGER_SUSPEND=true"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to