Version: 2023.2

EditorUserBuildSettings.managedDebuggerFixedPort

切换到手册
public static int managedDebuggerFixedPort ;

描述

Force the port used by the managed debugger. Default is 0 which means platform-specific auto-selection of a port.