VSCode Reactor Launcher Hooks
This extension provide support to Project Reactor Debug Experience features into reactor project such as Spring WebFlux
projects. The feature are contributed to Java Debug Extension.
Features
- Add support to enable "Activating Debug Mode - aka tracebacks" for project reactor applications.
Requirements
This extension depends on Redhat Java VSCode Extension
Extension Settings
:Attension: The following is deprecated and no more supported.
This extension contributes the following properties to java launch configuration.
Properties
- enableTracebacks - Enable Project Reactor traceback feature for current application. Read more here.
Instead you can now use the provided vmArg names which are also has autocompletion support to choose from. For example
on both Java Launcher and Java Test execution configurations, you can use the following to enable tracebacks.
"vmArgs": "${command:reactorLauncher.tracebacks}"
Or
"vmArgs": [
"-Xms512m",
"${command:reactorLauncher.tracebacks}"
]
Or
"java.test.config": [
{
"name": "Reactor",
"vmargs": ["${command:reactorLauncher.tracebacks}"],
"env": {},
"classPaths": [],
"javaExec": "/opt/sdkman/_/candidates/java/21.ea.35-open/bin/java"
}
],
When activated the following log can be observed from the java agent that is used to enable this feature.
```
============== [VSCode Reactor Agent: Install Start] ==============
19:50:41.780 [main] DEBUG reactor.util.Loggers - Using Slf4j logging framework
public static void reactor.core.publisher.Hooks.onOperatorDebug()
19:50:41.788 [main] DEBUG reactor.core.publisher.Hooks - Enabling stacktrace debugging via onOperatorDebug
Successfully invoked Hooks.onOperatorDebug()
============== [VSCode Reactor Agent: Install End] ==============
```
Known Issues
- This extension needs java 1.8 or above to work.
None
Release Notes
Latest Release: 0.1.0
Refer to CHANGELOG
Enjoy!