Since VS code unity debugger is not working and it isnt maintained anymore is there any way to debug with the ide and attach it to the unity editor in Linux? Thank you
See this post from few days ago https://forum.unity.com/threads/how-to-debug-on-linux-with-vs-code.1304946/
It works, tho? It might not detect Unity if you didnt enable debugging in unity previously (on older version it asked to enable when you connected with debugger for the first time but in 2021 i had to enable in explicitly first)
for debugging c# code, rider can be used. You need to configure the script editor in project setting, and use the generated solution file. There should be a section on that in the user manual. https://docs.unity3d.com/2018.2/Documentation/Manual/ManagedCodeDebugging.html