This works on emulators or real devices.

Run the app normally on the device or emulator.
While it’s open, run adb install -r /path/to/that/debug.apk

This will even trigger things like PACKAGE_REPLACED intents.