Yes, this works.  I have done this before.  Of course, you need to properly
coordinate between the debugger and the server starting up.

On Fri, Jan 13, 2017 at 11:54 AM, Udo Kohlmeyer <ukohlme...@pivotal.io>
wrote:

> Have you tried starting the remote with
>
> java 
> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:9001,server=y,suspend=y
> –jar application.jar
>
> and then you should be able to have your Idea connect to it using the
> "Remote" configuration in your run/debug configurations.
>
> Never tried this... but it seems reasonable to try this..
>
> --Udo
>
>
> On 1/13/17 11:49, Galen M O'Sullivan wrote:
>
>> Hi,
>>
>> I'm looking at some DUnit tests and wondering if someone can point me in
>> the direction of the right way to hook a debugger into them. I've been
>> using IntelliJ to debug in my main development environment, which is a
>> Mac,
>> but don't have it on the Linux box in which I'm seeing an error. What do
>> you use?
>>
>> Thanks,
>> Galen O'Sullivan
>>
>>
>


-- 
-John
john.blum10101 (skype)

Reply via email to