Actually, if you run in debug mode directly in intellij, it works,
nothing special is required.
Are you running your itests in IntelliJ ?
Regards
JB
On 01/06/2019 08:09, Paul Fraser wrote:
> On 1/06/2019 4:03 pm, Jean-Baptiste Onofré wrote:
>> Hi Paul,
>>
>> What Pax Exam version are you using ?
>
> pax exam 4.13.1 and Karaf 4.2.5
>
> Paul
>
>>
>> Regards
>> JB
>>
>> On 01/06/2019 08:01, Paul Fraser wrote:
>>> Hi,
>>>
>>> The example itests code has line
>>> "KarafDistributionOption.debugConfiguration("8889", true) commented out.
>>>
>>> Presumably, the idea is to uncomment and debug of the itest becomes
>>> possible. (for intellij set port to 5005 and remote debug config set in
>>> intellij)
>>>
>>> When I try to debug the target connects -
>>>
>>> "Connected to the target VM, address: '127.0.0.1:52458', transport:
>>> 'socket' " and then
>>>
>>> "Listening for transport dt_socket at address:5005"
>>>
>>> If I run debugging outside an itest with "bin\karaf debug" , it works.
>>>
>>> What am I missing in the debug itests case?
>>>
>>> Paul Fraser
>>>
>>>
>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com