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

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


The following commit(s) were added to refs/heads/main by this push:
     new 4725a51f blogpost for release of VS Code Debug Adapter for Camel 0.3.0
4725a51f is described below

commit 4725a51fc8620fe53ff3689090cbfc9e622d43b3
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Mon May 16 16:25:58 2022 +0200

    blogpost for release of VS Code Debug Adapter for Camel 0.3.0
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 ...breakpoinkCanBeSetBeforeStartingTheDebugger.gif | Bin 0 -> 721757 bytes
 .../codelens-java.gif                              | Bin 0 -> 1061742 bytes
 .../completionQuarkusSnippet.gif                   | Bin 0 -> 156261 bytes
 .../conditionalBreakpoint.gif                      | Bin 0 -> 1034315 bytes
 .../debug-from-contextualmenu-yaml.gif             | Bin 0 -> 851292 bytes
 .../05/release-vscode-debug-adapter-0.3.0/index.md |  50 +++++++++++++++++++++
 6 files changed, 50 insertions(+)

diff --git 
a/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/breakpoinkCanBeSetBeforeStartingTheDebugger.gif
 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/breakpoinkCanBeSetBeforeStartingTheDebugger.gif
new file mode 100644
index 00000000..437d81d6
Binary files /dev/null and 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/breakpoinkCanBeSetBeforeStartingTheDebugger.gif
 differ
diff --git 
a/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/codelens-java.gif 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/codelens-java.gif
new file mode 100644
index 00000000..5f318bd2
Binary files /dev/null and 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/codelens-java.gif 
differ
diff --git 
a/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/completionQuarkusSnippet.gif
 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/completionQuarkusSnippet.gif
new file mode 100644
index 00000000..88dfd113
Binary files /dev/null and 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/completionQuarkusSnippet.gif
 differ
diff --git 
a/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/conditionalBreakpoint.gif
 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/conditionalBreakpoint.gif
new file mode 100644
index 00000000..453f1c78
Binary files /dev/null and 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/conditionalBreakpoint.gif
 differ
diff --git 
a/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/debug-from-contextualmenu-yaml.gif
 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/debug-from-contextualmenu-yaml.gif
new file mode 100644
index 00000000..7c6a124e
Binary files /dev/null and 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/debug-from-contextualmenu-yaml.gif
 differ
diff --git a/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/index.md 
b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/index.md
new file mode 100644
index 00000000..5d8ea84d
--- /dev/null
+++ b/content/blog/2022/05/release-vscode-debug-adapter-0.3.0/index.md
@@ -0,0 +1,50 @@
+---
+title: "New release of VS Code Debug Adapter for Apache Camel 0.3.0"
+date: 2022-05-17
+authors: [apupier]
+categories: ["Tooling", "Releases"]
+preview: "New release of VS Code Debug Adapter for Apache Camel 0.3.0. Improve 
guidance, conditional breakpoint support and breakpoint available on start."
+---
+
+Textual debug for Camel routes allows to set breakpoints at Route definition.
+
+The new release of [VS Code Debug Adapter for Apache 
Camel](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-debug-adapter-apache-camel)
 0.3.0 improves guidance to start the debug session and provide support for 
conditional breakpoint.
+
+# Guidance to start the debug session improvements
+
+## Codelens and contextual menu
+
+In previous release, the command `Start camel Application with JBang and 
debug` was provided in the command palette. This command is now also available 
closer in the User UI. Both as a codelens and as a contextual menu on 
right-click in the file explorer. They are available on `java`, `xml` and 
`yaml` files.
+
+![codelens on Java file to run and debug with JBang on Java 
files](./codelens-java.gif)
+![contextual menu on yaml file to run and debug with 
JBang](./debug-from-contextualmenu-yaml.gif)
+
+## Completion for Quarkus
+
+In `.vscode/tasks.json`, a new completion is available to guide user.
+
+![CVompletion in tasks.json for quarkus:dev](./completionQuarkusSnippet.gif)
+
+For more details how to Camel debug a Quarkus application, see this [previous 
blogpost](/blog/2022/05/start-camel-quarkus-application-with-camel-textual-debug-in-vscode/).
+
+# Conditional breakpoint
+
+Conditional breakpoints are now supported. It allows to suspend the route 
execution only on certain conditions. For instance, when the `body` has a 
certain value.
+
+You can add a condition and/or hit count when creating a source breakpoint 
(with the `Add Conditional Breakpoint` action) or when modifying an existing 
one (with the `Edit Condition` action). In both cases, an inline text box with 
a dropdown menu opens where you can enter Camel `simple` language expression.
+
+![Conditional breakpoint for Camel route](./conditionalBreakpoint.gif)
+
+For details how to write the condition, see the [Camel Simple language 
documentation page](/components/3.16.x/languages/simple-language.html).
+
+A [video](https://youtu.be/38Q1CDZm5SI) is available to see it in action with 
comments.
+
+# Breakpoints available on start
+
+In previous versions, the Camel breakpoints needed to be set after the Camel 
debugger was connected to the Camel application. It is now possible to set 
breakpoints before starting the Camel debugger.
+
+![Breakpoint set before start of the application are 
available](./breakpoinkCanBeSetBeforeStartingTheDebugger.gif)
+
+# What's next
+
+You can submit your enhancement requests on the [VS Code client for Debug 
Adapter for 
Camel](https://github.com/camel-tooling/camel-dap-client-vscode/issues) or in 
the [Red Hat Jira](https://issues.redhat.com/browse/FUSETOOLS2).

Reply via email to