I feel like this would be an inferior development experience in 2022 compared to this approach: https://hackaday.io/project/1507-usb-megadrive-devkit
Which is an fpga in the cartridge that also serves as a gdb stub over serial. You can debug with gdb directly on the hardware.