Replies: 2 comments
-
I now have debug working although I’m not 100% clear on the details. At the bottom of the left sidebar in vsCode was an IBM i Debugger 3.0.0 section. A debug server job and service were listed and beside them were start buttons. After clicking them, ports 8001 & 8005 went active, and I was able to debug. Prior to this I had already run the STRDBGSVR command so I’m not sure why the above steps were necessary. I’ll post an update to this when I get a better understanding of the issue. While researching this issue, I found an IBM document that says the “IBM i Debug Service uses two port number: the debug daemon port (default is 8001) and the secure port (default is 8005).” It also describes how to change the ports being used. Here is a link to the document. https://www.ibm.com/docs/en/merlin/1.0?topic=environment-debugging |
Beta Was this translation helpful? Give feedback.
-
Hi @rob400i ,
Here's the documentation about the debug service: https://codefori.github.io/docs/developing/debug/ Hope this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I try to debug an RPGLE program I receive the following message.
EQAVS1007E mysystem on port 8005 could not be connected.
Message received: connect ECONNREFUSED 192.168.9.2:8005
Note the system name and ip address were changed in the above message.
I verified Port 8005 is not listening on the system.
The System Debugger under Network/TCP Servers does show Started.
I also ran STRDBGSVR and it returned the following message.
Debug server router function already active.
Any ideas on how I can resolve this?
Beta Was this translation helpful? Give feedback.
All reactions