The initialization file (for example ec.ini)) of the EEC to be debugged has to be added with the following rows below the row -vmargs:
-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
-Xmx1024m
Once the initialization file has been modified, EEC has to be restarted.