gnodet-bot commented on code in PR #29153: URL: https://github.com/apache/camel/pull/29153#discussion_r4511044652
########## docs/user-manual/modules/ROOT/pages/camel-jbang-debugging.adoc: ########## @@ -72,6 +72,29 @@ camel debug hello.yaml --breakpoint=18 camel debug hello.yaml --breakpoint=18,34 ---- +=== Running the debugger in background mode + +Use `--background` to start the debug-enabled integration without an interactive terminal: + +[source,bash] +---- +camel debug hello.yaml --background +---- + +This is useful in CI or non-interactive sessions where no TTY is available. +Unlike the interactive mode, `camel debug --background` does not require a terminal: +it launches the Camel integration with the route debugger enabled, writes its output to +`~/.camel/<pid>-run.log`, and waits up to `--background-wait` (60 seconds by default) for Review Comment: 💡 **Nit (docs):** `runBackgroundProcess` can exit non-zero if the integration fails to start (startup failure detected during the `--background-wait` window). The claim "exits 0" should be scoped to the success case. ```suggestion `~/.camel/<pid>-run.log`, and exits 0 on success (exits non-zero if the integration fails to start). ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
