Skip to content

camel-tooling/camel-dap-client-eclipse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and Test Maintainability Rating Drag to your running Eclipse* workspace to install. *Requires Eclipse Marketplace Client

Camel Debug Adapter client for Eclipse

This repository will provide a client for the Debug Adapter implementation for Apache Camel. As a first step, manual steps are provided to use the Debug Adapter for Apache Camel inside your Eclipse instance.

How to use the Debug Adapter for Apache Camel

Camel Specific Launcher

Happy path

The advantage is that a minimal set of information is visible.

  • Install extension from this repository
  • Launch the Camel (3.16+) application that you want to debug with camel-debug on the classpath
  • Create a Camel Textual debug debug configuration
    • Click Debug
  • You can now set breakpoints in textual Camel route definition

Advanced configuration

In the Camel Textual debug debug configuration, you can provide additional parameters. For instance when trying to connect to a remote JMX URL: { "request": "attach", "attach_jmx_url":"<aJMXURL>" }

it is also possible to use the PID of the Camel application:

{ "request": "attach", "attach_pid":"<pidOfCamelApplication>" }

Built-in LSP4E.Debug Launcher

The advantage is that it is giving more power on the actions and the versions to use.

  • Build the Camel Debug Adapter Jar from this repo or retrieve it from
  • Install Eclipse LSP4E in your Eclipse Desktop instance
  • Launch the Camel application that you want to debug
  • Create a Debug Adapter Launcher debug configuration
    • Select Launch a Debug Server using the following arguments
    • in command field, set java
    • in Arguments field, set -jar <pathTo>/camel-dap-server-xxx.jar
    • in Launch Parameters (Json) field, set { "request": "attach" }
    • Click Debug
  • You can now set breakpoints in textual Camel route definition

About

Client for the Debug Adapter impletation for Apache Camel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages