Question by
Narmer · Jun 09, 2021 at 10:18 AM ·
visual studiodebuggingremotedebugger
How to make remote debugging with Visual Studio work?
I'm unable to attach the Visual Studio debugger to remote Unity server build (development, script debugging). I've tried both Linux and Windows.
Debug -> Attach Unity Debugger -> Input IP
I'm sure IP and port are correct. Firewall on the remote side is also not the issue.
As for Linux, my script on the remote ip event prints out: PlayerConnection accepted from [2??.??.6?.?02] handle:0x7
But the debugger in Visual Studio just won't attach. It seems it starts building but won't attach without printing any error or other indication of what is going on.
Local debugging works fine.
How can I make it work?
Comment