how can I use Visual Studio to debug a BPFL designed for runtime only?

Hi,

I’m trying to debug a BPFL (from this tutorial: Example Project: Loading Pak Files At Runtime | Tutorial - because it’s apparently broken if your pak contains Engine assets)

And it has this code snippet:

//Check to see if running in editor
#if WITH_EDITOR
return bIsMounted;
#endif

When I try and run via the Visual Studio debugger it launches the editor - which means I’m always hitting that conditional compile.

So, how can I run the game directly from the debugger - not via the editor?

I can’t seem to find any documentation on this. But please accept my apologies and point me at any pre-existing answers/documentation.

Thanks…

Umm, sorry… I’m an idiot.

Just change the solution configuration to the “non-editor” version…

:blush: