I found the issue. I was using port 8005 instead of port 5005 (as in the
screenshot you sent).

Thanks a lot.

However, I have one other issue. With the remote debugger connected, it
doesn't stop at breakpoints. Do you know what could be the possible
cause/solution for this?

On Thu, Jul 22, 2021 at 2:54 PM Benura Abeywardena <[email protected]>
wrote:

> Hi,
>
> You need to add configurations. I'll attach some screenshots which I
> received from one of the developers regarding this. This method worked
> properly for me :)
>
> Thanks & Regards,
> Benura Abeywardena
>
> On Thu, Jul 22, 2021 at 7:17 PM Kelvin Ikome <[email protected]> wrote:
>
>> Hi Benura, thanks for your response. However, I didn't quite understand
>> what you meant here "... You need to configure debug properties in intelliJ
>> and there give the name as debug-jvm...".
>>
>> Please elaborate on this part.
>>
>> Here are the current configurations I have.
>> *Debugger*: Attach to remote JVM
>> *Transport*: Socket
>> *Host*: localhost
>> *Port*: 8005
>> *JDK*: 9 or later
>>
>> On Thu, Jul 22, 2021 at 1:45 PM Benura Abeywardena <[email protected]>
>> wrote:
>>
>>> I think it should be ./gradlew bootRun --debug-jvm. You need to
>>> configure debug properties in intelliJ and there give the name as
>>> debug-jvm. After that you could execute the aforementioned command.
>>>
>>> Regards,
>>> Benura
>>>
>>> On Thu, 22 Jul 2021, 18:06 Kelvin Ikome, <[email protected]> wrote:
>>>
>>>> Hi everyone,
>>>>
>>>> Has anyone been able to run Fineract 1.5.0 in debug mode?
>>>>
>>>> I get the following error on trying to connect Intelij remote debugger
>>>> to a running Fineract instance (I ran it using "./gradlew bootRun").
>>>>
>>>> *```Error running 'Fineract': *
>>>> *Unable to open debugger port (localhost:8005):
>>>> java.net.ConnectException "Connection refused: connect"```*
>>>>
>>>> Any ideas or suggestions would be appreciated.
>>>>
>>>

Reply via email to