Skip to content

Commit b510dd9

Browse files
author
Alex Davies-Moore
committed
Added development information to the README.md
1 parent 592507e commit b510dd9

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,20 @@ The flit plugin accepts the following plugin parameters:
6868
|:--------------|:---------:|:------------------------------|:----------------------------------------------------------|
6969
| `target` | Y | `enum[server]` | The type of target to generate e.g. server, client etc |
7070
| `type` | Y | `enum[spring,undertow,boot]` | Type of target to generate |
71+
72+
73+
# Development
74+
75+
All development is done in Java using JDK 8 (as mentioned above).
76+
77+
Remote debugging can be performed as follows:
78+
79+
export FLIT_JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005,quiet=y"
80+
protoc \
81+
--proto_path=. \
82+
--java_out=../java \
83+
--flit_out=target=server,type=undertow:../java \
84+
./haberdasher.proto
85+
86+
When running with the above options, the generator will enable a remote java debug session on port 5005. This is useful
87+
for debugging a full generation step.

0 commit comments

Comments
 (0)