You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The Debug tab shows Debug port and Suspend for user-defined servers, which ignore them, and hides them for extension servers, which use them #2267
The Debug tab of a language server, on the settings page and in the LSP Consoles, shows Debug port and Suspend in the wrong cases:
User-defined servers: the tab shows the fields, but nothing reads them, since the user's own command starts the server.
Extension servers: the tab hides the fields. These are the servers whose plugin can use them, through JavaProcessCommandBuilder.
Where
Who shows them:LanguageServerView shows the fields only for user-defined servers. The line is configuration.setShowDebugPortAndSuspend(isUserDefined); (LanguageServerView.java:518).
Who reads them: only JavaProcessCommandBuilder does. It adds -agentlib:jdwp=… to the Java command of an extension server when its settings have a debug port. The developer guide describes this: the builder "adds additional debug flags if the settings of the language server myLanguageServerId defines a debug port".
Before 4b0b0f0 ("feat: contribute to the language server panel with extension", June 2025), LanguageServerView read and compared the debug port and suspend only for servers that weren't user-defined. The new panel configuration turned this around.
The docs:docs/images/LSPConsoleSettings.png and docs/images/LSPLanguageServerDetail.png still show the fields in the Debug tab of Qute, an extension server.
Effect
The developer of an extension server can no longer set a debug port from the UI, so JavaProcessCommandBuilder never adds the JDWP agent unless the setting is edited elsewhere. A user-defined server shows two fields that have no effect.
Suggested fix
Show the fields for extension servers, as before 4b0b0f0 (!isUserDefined), and hide them for user-defined servers. Check that saving and the "modified" check still handle both kinds.
Activity
fix: the Debug tab shows Debug port and Suspend for extension servers…