Setting up Android project in Visual Studio with -vsdebugandroid

When trying to generate project files with the -vsdebugandroid option specified so that I can debug my android project, I get the error:
“ERROR: UnrealBuildTool Exception: Existing C# project …\Intermediate\ProjectFiles\Project-AndroidRun.androidproj must contain a Development configuration”

Any ideas on how to fix this? I can launch the project on Android through the Editor, but need to attach the debugger to help with an Android only crash!

Same problem in 4.25