Command line launch debugger against a .JAR file (ala jdb)

Is there a way to command line launch the IDEA debugger against a JAR file? The command line JDB is very familiar to the developers that I work with. They would very much like a way to use IDEA without the overhead of defining a project, etc. They would prefer to work in other editors (VIM/EMACS) but to take advantage of the debugger where appropriate for their work flow.

Ideally, there is a command line that looks something like:

idea -debuger -cp or, alternatively, that allows the user to specify a set of preferences, breakpoints, etc. idea -debuger -cp -init ]]>

1 comment

Hello ToddG,

Is there a way to command line launch the IDEA debugger against a JAR
file? The command line JDB is very familiar to the developers that I
work with. They would very much like a way to use IDEA without the
overhead of defining a project, etc. They would prefer to work in
other editors (VIM/EMACS) but to take advantage of the debugger where
appropriate for their work flow.

Ideally, there is a command line that looks something like:

idea -debuger -cp <classpath> <someclass to debug>

or, alternatively, that allows the user to specify a set of
preferences, breakpoints, etc.

idea -debuger -cp <classpath> -init <some initfile> <someclass to
debug>


No, there is no such way, and we don't plan to support this in the next release
of IntelliJ IDEA. IntelliJ IDEA's debugger needs the project definition in
exactly the same degree as all other features, so there is no overhead to
be saved with such command-line interface.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.