Your presentation of the problem is exceedingly poor. How can anyone else understand your circumstances?
Describe how it is wired, has it worked previously? Needs SWDIO, SWCLK, VCC, GND at a minimum
Does it work directly from STM32 Cube Programmer? Does that report errors? What errors? Have you run the GDB Server?
Is it an authentic STM32 part on the board?
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..