Press F5 to start debugging. The page loads in the browser and you get a text box and two buttons. Enter your name in the text box and click the Say Hello button. As soon as you click it, focus is put back on Visual Studio, and the code halts in the JavaScript code block.