Debugging mode forces "stop player" now?

[2020.1.0b2] I thought the new "debug mode" is for editor scripts only? When I play in Unity, then attach VS, the option comes up to enable debug mode:

Since editor only (right?), I click no. Then ... VS disconnects! I used to be able to attach VS at any time.

If I click yes, then ... my player stops! I used to be able to attach at anytime without affecting the player.

This feels like a massive downgrade, if this is as-intended: These are bugs, right?

The feature is not only for editor scripts. But for debugging any C# in the editor, both editor and player scripts.

What exactly happens when "my player stops" ?

You can use the new bug icon in the bottom right of the editor to switch to debug mode instead of getting the dialog. For more details see "Debugging in the Editor" on this page: https://docs.unity3d.com/2020.1/Documentation/Manual/ManagedCodeDebugging.html

What exactly happens when "my player stops" ?

Asset refresh/recompile. The usual when you click stop after playing. I understand what it does, but that I used to be able to attach VS while playing. Now I cannot (forces editor to stop playing).

Hmm, not sure if we're on the same page here :p the main point is that a playing editor stops when you attach VS debugger now.

1 Like

If Debug Mode is enabled before you enter Play Mode, you should be able to attach the debugger without leaving Play Mode.


What made you think that?