How to debug nexus OSS online via intelliJ or eclipse without using java remote debugging

How to debug nexus OSS online via intelliJ or eclipse without using java remote debugging?

I think this is impossible.
If it had a hook to do so would be a HUGE security hole