You may find it easier to setup Remote Java Debugging, so you attach the Java debugger to the running Mendix application rather than try to launch in directly from Eclipse. This is the approach I take when debugging Java actions.
Instructions on how to do this can be found on the following page.
https://docs.mendix.com/howto/monitoring-troubleshooting/debug-java-actions-remotely/
Hope this helps.