aboutsummaryrefslogtreecommitdiff
path: root/doc/debug-insights/vscode.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/debug-insights/vscode.txt')
-rw-r--r--doc/debug-insights/vscode.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/debug-insights/vscode.txt b/doc/debug-insights/vscode.txt
new file mode 100644
index 00000000..efc55619
--- /dev/null
+++ b/doc/debug-insights/vscode.txt
@@ -0,0 +1,7 @@
+As per @Rawi01's experimenting:
+
+* VSCode's lombok plugin simply adds the appropriate `-javaagent` options when it fires up the eclipse-based language server. You can also add debug flags here.
+* Add the flags `-agentlib:jdwp-transport=dt_socket,server=y,suspend=n,quiet=y,address=12345` to the `settings.json` of the VSCode lombok plugin, and then tell your debugger to attach to localhost:12345.
+* Set the property `java.server.launchMode` to `"Standard"`.
+* Consider activing the language server debug mode.
+