Run in "dedicated server" mode from the editor

I am attempting to debug a dedicated server build, and I would like to make use of the “remote” node list available when running a project from the editor, but I also need the OS.has_feature("dedicated_server") to return true, since this is how much of the server-only logic is gated. Is this possible?

I’m using v4.2.2