Setting up development environment for debugging search-guard


I want to authentication and authorization for my Kibana Dashboards. I am able to setup action filters and document filters on some sample indices and they work fine.

However when I try the same on index- .kibana, _type: dashboard, somehow it does not seem to work. Could you please help with it?

Any pointers to how can I setup the development environment, set breakpoints and be able to debug through the plugin?