Debugging is functional when employing the IDE; however, when utilizing the Command Line Interface approach, it invariably remains in a state of connection anticipation.
ST-LINK_gdbserver -d -v -t -cp /opt/ST/STM32CubeCLT/STM32CubeProgrammer/bin/ -s -k -f /Users/pymcu/micropython/log.log
[0.000] initConfigParams(): Configuration flags start
[0.000] initConfigParams(): external-init false
[0.000] initConfigParams(): pend-halt-timeout (null)
[0.000] initConfigParams(): halt false
[0.000] initConfigParams(): config-file ""
[0.000] initConfigParams(): persistent false
[0.000] initConfigParams(): +log-file "/Users/pymcu/micropython/log.log"
[0.000] initConfigParams(): log-level 31
[0.000] initConfigParams(): port-number 61234
[0.000] initConfigParams(): +verbose true
[0.000] initConfigParams(): refresh-delay 15
[0.000] initConfigParams(): +verify true
[0.000] initConfigParams(): +swd true
[0.000] initConfigParams(): swo-port 61234
[0.000] initConfigParams(): cpu-clock 8000000
[0.000] initConfigParams(): swo-clock-div 128
[0.000] initConfigParams(): +initialize-reset true
[0.000] initConfigParams(): debuggers false
[0.000] initConfigParams(): serial-number ""
[0.000] initConfigParams(): apid 0
[0.000] initConfigParams(): attach false
[0.000] initConfigParams(): +shared true
[0.000] initConfigParams(): erase-all false
[0.000] initConfigParams(): memory-map ""
[0.000] initConfigParams(): ext-memory-loaders false
[0.000] initConfigParams(): extload_init (null)
[0.000] initConfigParams(): extload (null)
[0.000] initConfigParams(): +stm32cubeprogrammer-path "/opt/ST/STM32CubeCLT/STM32CubeProgrammer/bin/"
[0.000] initConfigParams(): temp-path ""
[0.000] initConfigParams(): preserve-temps false
[0.000] initConfigParams(): frequency 0
[0.000] initConfigParams(): licenses false
[0.000] initConfigParams(): ignore-rest false
[0.000] initConfigParams(): version false
[0.000] initConfigParams(): help false
[0.000] initConfigParams(): Configuration flags end
[0.000] init(): STMicroelectronics ST-LINK GDB server. Version 7.4.0
Copyright (c) 2023, STMicroelectronics. All rights reserved.
[0.118] openDevice(): COM frequency = 4000 kHz
[0.118] openDevice(): Target connection mode: Under reset
[0.128] readFromTarget(): Reading ROM table for AP 0 @0xe00fdfd0
[0.132] reset_hw_wtchpt_module(): Hardware watchpoint supported by the target
[0.138] initContext(): ST-LINK Firmware version : V2J42M27
[0.138] initContext(): Device ID: 0x451
[0.139] initContext(): PC: 0x8002f8c
[0.139] Device_GetStatus(): ST-LINK device status: HALT_MODE
[0.140] initContext(): ST-LINK detects target voltage = 3.26 V
[0.140] initContext(): ST-LINK device status: HALT_MODE
[0.140] initServerContext(): ST-LINK device initialization OK
[0.140] pollAndNotifyRun(): Stm32Device, pollAndNotify running...
[0.141] updateState(): SwvSrv state change: 0 -> 1
[0.141] WaitConnection(): Waiting for connection on port 61235...
[0.141] WaitConnection(): Waiting for connection on port 61234...