This is the client implementation of the Debug Adapter Server for Apache Camel for Visual Studio Code
View the Project on GitHub camel-tooling/camel-dap-client-vscode
camel-debug
on the classpath.vscode/launch.json
, provide this kind of content for a local default JMX connection (which is service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/camel
):Run and Debug
panel, launch the Attach Camel Debugger
{
"version": "0.2.0",
"configurations": [
{
"type": "apache.camel",
"request": "attach",
"name": "Attach Camel Debugger"
}
]
}
In the .vscode/launch.json
, provide this kind of content for a local default JMX connection (which is service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/camel
):
{
"version": "0.2.0",
"configurations": [
{
"type": "apache.camel",
"request": "attach",
"name": "Attach Camel Debugger"
}
]
}
or for a specific JMX Url
{
"version": "0.2.0",
"configurations": [
{
"type": "apache.camel",
"request": "attach",
"name": "Attach Camel Debugger",
"attach_jmx_url": "service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/camel"
}
]
}
or for a local connection using PID of the Camel application process:
{
"version": "0.2.0",
"configurations": [
{
"type": "apache.camel",
"request": "attach",
"name": "Attach Camel Debugger",
"attach_pid": "857136"
}
]
}