Reputation: 31
There should be four panels(VARIABLES, WATCH, CALL STACK, BREAKPOINTS) on the left side, but now there is only three.
I try my best to find how to open the WATCH, but failed. I can't find related settings in View or Setting.json
Can anyone help me? Thank you!
Upvotes: 3
Views: 2192
Reputation: 29
The solutions did not work for me, I found another solution:
Hope it helps :)
Upvotes: 0
Reputation: 447
The same issue happened to me. Somehow watch section inside debug panel became separate panel and i did not notice that at first. Take a closer look at left vscode panel
Upvotes: 0
Reputation: 2495
I was able to run my application and set a break-point. Right-clicked on a variable and selected "add to watch" and the watch section appeared.
A new "run and debug" icon in the side-bar appeared as well. It appears that I accidentally dragged the watch section to the sidebar.
I was able to open the "run and debug" menu and drag the new icon off the sidebar and into the menu. My "Watch" section is now back where it should be.
Upvotes: 2
Reputation: 328
Try selecting one variable of your code (double click), and then click with the right button of your mouse, and choose the option "Add To Watch" on the drop-down nenu. The Watch panel will show again. Let me know if it worked.
Upvotes: 0