using addidional parameters.
java -Xmx512m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y -jar JDownloader.jar
Debug Configurations→Remote Java Application. Select JDownloadproject and port 8000 and start debugging.