How can i debug arduino uno with visual studio community 2022 or visual studio code?

i want to debug arduino uno , using visual micro at visual studio community 2022, visual studio code 2022, at visual studio community 2022, i can step into code, but i can't see debug windows "watch", "auto", "local".... how can i do this ?

and
in visual studio code, visual studio code can't find arduino ide.exe (ver 2.0.1) .

of course , i enter absolute path of arduino ide folder at arduino: path of Arduino configuration of extensions of user settings.

and i enter Arduino IDE.exe at arduino: command path of Arduino configuration of Extensions of User settings.

it is not possible.
do you have a debugger for ATmega328p?

no i don't have any debugger, i saw many articles in youtube or internet that this try is possible, so, i did as i saw...but i couldn't... more over, i think there is no debugging connector of arduino like SAMD series micro controllers...

The ISP connector can be used for debugging using the "debugWire" protocol, at least in theory. debugWire is essentially bit-banged on the RESET pin, and the Uno's auto-reset circuitry might interfere with using it.

Better to buy an ATmega328p Xplained Mini, which is more-or-less Uno compatible, has a built-in (mEDBG) debugger, and is cheap.

AVR debugging is pretty primitive compared to ARM; and ... slow.