View Single Post
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 12-31-2021 , 07:36   Re: [SourcePawn] Debug Server + VSCode Extension
Reply With Quote #3

Quote:
- Connect to the server by pressing the F5 button.
Well, when I press F5 and select the project it just show me this content:
Code:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "sourcepawn",
            "request": "launch",
            "name": "Run remote debugger",
            "program": "/test"
        }
    ]
}
There's no guide to how to connect to the server, or it only works with a local server (which was not noted).


Beside the above issue I run into the glibc version issue. My server runs with Ubuntu 20.04 (Focal) with the glibc version 2.31, but your precompiled extension was compiled with version 2.32 - which won't on many servers. Probably you could provide a precompiled version compiled against a lower glibc version or add a requirement list with required stuff/versions.


Another point is, you posted this in the "sourcemod" category but named it as "AMXXPawn Debug Adapter and Server for VSCode" which is also pretty confusing.


Generally it could be useful, but with the above list not really user friendly.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline