I’m using Unity 3D with VScode and I need to do some debugging.
I installed the Unity Debugger extension, the one in this link: Debugger for Unity - Visual Studio Marketplace
It is working fine, I can setup the breakpoints and watch variables.
Now I need to run some C# commands in real time on the console (like I would debug on a web application if I was doing javascript). But when I try to run some simple C# command (such as print) on the console, it returns this:
print("r");
Evaluate request failed (Expression not supported.).
How can I run any c# command from a console and affect my game that is running in real time using VSCode?