To create a debug build in AppFlow, import your app repository, select the commit you want to build from, choose the platform (iOS or Android), select the build stack, choose 'debug' as the build type, and initiate the build. For Android, you can scan a QR code to install the APK on your device.