Skip to content

This is a client implementation of the Apache Camel Language Server Protocol for Eclipse IDE

License

Notifications You must be signed in to change notification settings

apupier/camel-lsp-client-eclipse

 
 

Repository files navigation

GitHub tag Build Status License Gitter

How to debug Camel Language Server from Eclipse client

  1. Add debug arguments to the list org.apache.camel.lsp.eclipse.client.CamelLSPStreamConnectionProvider.computeCommands()

You will end up with something like:

private static List<String> computeCommands() {
	List<String> commands = new ArrayList<>();
	commands.add("java");
	commands.addAll(debugArguments());
	commands.add("-jar");
	commands.add(computeCamelLanguageServerJarPath());
	return commands;
}

private static List<String> debugArguments() {
	return Arrays.asList("-Xdebug","-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=3000");
}
  1. Create a Remote Java Application Debug Launch configuration in Eclipse

About

This is a client implementation of the Apache Camel Language Server Protocol for Eclipse IDE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%