This guide will set up VS Code to work with debugging Wii U apps using the GDB stub plugin for Aroma.
To debug you will need a compatible GDB version installed which supports the powerpc:750
archtitecture.
The one which is bundled with devkitPPC
is not recommended, due to being several versions behind.
Edit: It has now been updated to the latest version and can be used without issues. Use /opt/devkitpro/devkitPPC/bin/powerpc-eabi-gdb
for the gdb path.
You also install a PowerPC specific version, or use gdb-multiarch
which comes with several linux distributions.
Note down the path to the gdb executable, this is required for the next steps.