Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

the WATCH panel disappear when I debug my code in VS Code

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!

pic1 pic2

like image 215
HeZudao Avatar asked Nov 22 '25 10:11

HeZudao


1 Answers

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.

like image 99
YeeHaw1234 Avatar answered Nov 25 '25 08:11

YeeHaw1234



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!