Well, my silly brain....:(. I think somewhere along, I inadvertently changed my default setting to "Connect to remote GDB server" and was thinking it as the default setting. But thanks to all of you, my brain came out of sleep and all good now. My ba...
Thank you but the code is of few lines, basic GPIO toggle and I did not have any wires connected to nucleo board apart from usb cable. Board is surely not in low power mode.
Thank you. I checked, connectivity is okay. Board is getting flashed with STM32 Cube programmer ( invoked if select Autostart local GDB server) but not directly using from ST-LINK. Does this help in bringing more clarity to my issue?