[ https://issues.apache.org/jira/browse/CAMEL-20431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-20431. --------------------------------- Resolution: Fixed > camel-jbang - 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 > Assignee: Claus Ibsen > Priority: Minor > Fix For: 4.4.1, 4.5.0 > > > > 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)