How to debug Java application from Sublime Text editor

10,116

You could look for a standalone Java Debugger like JDebugTool.

Or you could simply create an additional Eclipse workspace with only the bare minimal you need for remote debugging your application (just one project with all the source jars linked in). This workspace will start considerably faster than the full blown.

I have never worked with a standalone debugger for Java and personally I tend to keep the number of tools I have to learn as low as possible and Eclipse's debugger is pretty good.

Share:
10,116
Piotr Kochański
Author by

Piotr Kochański

CV: http://careers.stackoverflow.com/piokoch G+: https://plus.google.com/u/1/110650945928889799731/posts Blog (in Polish) http://xoft.pl

Updated on June 06, 2022

Comments

  • Piotr Kochański
    Piotr Kochański almost 2 years

    Sometimes I am doing simple fixes for rather huge Java application and I don't want to open Eclipse for this task. Eclipse starts long and since the project is build out of large number of subprojects, which are build anyway by Maven, it takes ages before Eclipse is usable (at least ages in impatient Java developer scale).

    Almost everything I need can be done in Sublime Text editor, however one place where Eclipse shines is debugger. My workflow is: make a fix, then test it running application (on server) using debugger, to check if everything is ok.

    So is there any Sublime plugin, or other non-IDE solution for easy debugging of Java application.

    Note: I have seen this post - its pretty old, maybe there is something better.

  • aydinugur
    aydinugur over 2 years
    The link is broken now.