In its current state, the Debug Service item tooltip in the IBM i Debugger view shows too many ports:
The ports besides 8001 and 8005 are those used by the Service when it connects to the local TCP servers; they only appear once the Debug Service has been used at least once to debug a program:
This PR fixes the query used to fetch the Service ports to only get the server ports.
How to test this PR
Connect to an IBM i where the Debug Service runs and has been used at least once
Go to the IBM i Debugger view
Hover over the Debug Service item
Only two ports must be shown at the top of the tooltip
Changes
In its current state, the![toomany](https://github.com/codefori/vscode-ibmi/assets/11096890/077e5002-b0b7-4c06-94f8-b3588a7727a1)
Debug Service
item tooltip in theIBM i Debugger
view shows too many ports:The ports besides 8001 and 8005 are those used by the Service when it connects to the local TCP servers; they only appear once the Debug Service has been used at least once to debug a program:![image](https://github.com/codefori/vscode-ibmi/assets/11096890/524741f7-53aa-411f-b206-98fbacd18f15)
This PR fixes the query used to fetch the Service ports to only get the server ports.![Code_Z7F1bRUJgk](https://github.com/codefori/vscode-ibmi/assets/11096890/70b16cba-3abb-49c7-9282-7aa891cf16e9)
How to test this PR
IBM i Debugger
viewDebug Service
itemChecklist