If you attach Visual Studio to the UE4Editor process, you can also press the F9 key or click on the left greyed out side to create a so called “breakpoint” in the code. This will make the game pause before executing that line, allowing you to check variables or step through the code(using F10 or F11) line by line to follow the execution.