How to run visual studio debugger on UE4 source?

I’ve cloned the latest UE4 release to my computer. I’ve built the “Debug Editor” configuration and run the “local windows debugger”. However this just takes me to the project section screen and after I startup a project the debugger stops before getting to the editor. How do I target the editor for debugging purposes in visual studio?

In VS under the Debug menu item, you have “attach to process”. Find the instance you wish to debug, select it and click attach.
However, if you start up your build version and create a c++ project, your new project will be attached to that version. At this point you can close the UE4 source vs project and open your newly created game project in vs. When debugging from the game project, you’ll also be debugging the UE4 source as well.

Great! Thanks so much.