From 140c0e03c93bf5fcbda3d913bfca43e0217918b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Peer=20St=C3=B6cklmair?= Date: Sat, 27 May 2017 08:13:11 +0200 Subject: [PATCH] Docs: Extend VSCode debugging notes (#1389) --- docs/recipes/debugging-with-vscode.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/recipes/debugging-with-vscode.md b/docs/recipes/debugging-with-vscode.md index 243613dea..9c4883a08 100644 --- a/docs/recipes/debugging-with-vscode.md +++ b/docs/recipes/debugging-with-vscode.md @@ -28,6 +28,8 @@ Save this configuration after you added it. > **Note:** The file you want to debug, must be open and active -Set breakpoints in the code. +> **Note:** The breakpoints in VSCode are a bit buggy sometimes (especially with async code). `debugger;` always works fine. + +Set breakpoints in the code **or** write `debugger;` at the point where it should stop. Hit the green `Debug` button next to the list of configurations on the top left in the `Debug` view. Once the breakpoint is hit, you can evaluate variables and step through the code.