Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
Install host dependencies.
Import toolchain and SDK.
Create, configure, build and manage apps.
Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench
The board STM32F407G-DISC1 is obsolete and was renammed STM32F4DISCOVERY.
Try to use STM32F4DISCOVERY instead of without change your debug configuration.