You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/12/09 18:44:08 UTC

[camel] branch main updated: Add documentation debugging with jbang (#6519)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 2b5b9d7  Add documentation debugging with jbang (#6519)
2b5b9d7 is described below

commit 2b5b9d793ab8b695f2fd9965933ab4dcb91a87f5
Author: Federico Mariani <34...@users.noreply.github.com>
AuthorDate: Thu Dec 9 19:43:32 2021 +0100

    Add documentation debugging with jbang (#6519)
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 3b3234d..aa10ec1 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -209,6 +209,18 @@ curl http://localhost:8080/hello
 Hello World%
 ----
 
+=== Debugging
+
+You can debug both CamelJBang@apache/camel and your integration scripts by making use of the `--debug` flag provided by JBang:
+
+[source,bash]
+----
+jbang --debug CamelJBang@apache/camel run /path/to/integration.java
+[jbang] Building jar...
+Listening for transport dt_socket at address: 4004
+----
+
+As you can see the default listening port is 4004 but can be configured as described in https://www.jbang.dev/documentation/guide/latest/debugging.html[JBang Debugging].
 
 === Search