Add note on debugging

Fixes #9334
This commit is contained in:
Andrew Cholakian 2018-04-06 14:08:22 -05:00
parent e07f19e9cf
commit ec26ee0a50

View file

@ -167,6 +167,10 @@ Most of the unit tests in Logstash are written using [rspec](http://rspec.info/)
./gradlew check
Sometimes you might find a change to a piece of Logstash code causes a test to hang. These can be hard to debug.
If you set `LS_JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"` you can connect to a running Logstash with your IDEs debugger which can be a great way of finding the issue.
### Plugins tests
To run the tests of all currently installed plugins: