aboutsummaryrefslogtreecommitdiff
path: root/doc/debug-insights/vscode.txt
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-09-29 15:25:17 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-09-29 15:25:17 +0200
commit2c5754e32a07a70ccec705ced623dce7ce6eb1a0 (patch)
tree8ac8254920e0176d3fec628329c475dcfedeebea /doc/debug-insights/vscode.txt
parent891ae75962bc15d081eea2dbfd99fe14b70f8b20 (diff)
downloadlombok-2c5754e32a07a70ccec705ced623dce7ce6eb1a0.tar.gz
lombok-2c5754e32a07a70ccec705ced623dce7ce6eb1a0.tar.bz2
lombok-2c5754e32a07a70ccec705ced623dce7ce6eb1a0.zip
[doc] Added some docs on how to debug lombok for various platforms, also updated changelog with recent changes
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.
+