Thanks Jack.
STRDBG does nothing to help the java client connect (that I can see). But I tried it anyway.
STRDBGSVR shows the debug server already started.
I cannot connect. The java log is showing ‘connection refused’ and the debug client is showing ‘Communications error'
Is there a port we need to have open?
I don’t see anything in the PDF for the debugger mentioning configurations of the IBM i.
From: Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, April 11, 2023 9:42 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: Therrien, Paul <ptherrien@xxxxxxxxxxx>
Subject: Re: IBM I Debugger - connection refused
1. You have to do STRDBG on the server.
2. You have to choose IBM i: Start Debug Service on VSCode
There are 2 parts to debugging with VSCode ... the good ol' Debug Service on the IBM i and a new TCP/IP port listener, the "Debug Server" to accept your connection from VSCode.
On Tue, Apr 11, 2023 at 7:30 AM Therrien, Paul via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>> wrote:
Trying to use the java IBM I Debugger.
We have 2 IBM I servers. I can connect to one without issue. But the other server is giving a 'connection refused' response.
What needs to be configured on the 2nd IBM I so that my connection will not be refused?
Thanks for any info.
--
JACK WOEHR, IBM Champion 2021-2023<
https://www.credly.com/users/jack-woehr/badges>
SENIOR IBM i ENGINEER
[Image removed by sender.] 303.847.8442<tel:303.847.8442>
jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx<mailto:jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
[Image removed by sender.]<
https://www.linkedin.com/in/jackwoehr/> stay connected<
https://www.linkedin.com/company/absolute-performance-inc./>
[Image removed by sender.]<
https://www.absolute-performance.com/>
[Image removed by sender.] www.absolute-performance.com<
https://www.absolute-performance.com/>
NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and
delete/destroy all copies of this communication immediately.
As an Amazon Associate we earn from qualifying purchases.