codefori / vscode-ibmi

🌍 IBM i development extension for VS Code
https://codefori.github.io/docs/#/
MIT License
264 stars 91 forks source link

Only show server ports in Debug Service tooltip #2102

Closed sebjulliand closed 2 weeks ago

sebjulliand commented 3 weeks ago

Changes

In its current state, the Debug Service item tooltip in the IBM i Debugger view shows too many ports: toomany

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

This PR fixes the query used to fetch the Service ports to only get the server ports. Code_Z7F1bRUJgk

How to test this PR

  1. Connect to an IBM i where the Debug Service runs and has been used at least once
  2. Go to the IBM i Debugger view
  3. Hover over the Debug Service item
  4. Only two ports must be shown at the top of the tooltip

Checklist

worksofliam commented 2 weeks ago

@sebjulliand Shall we merge?

sebjulliand commented 2 weeks ago

@worksofliam oof, I forgot about it 😅