Indonesian police insist an explosion near the venue of last night's presidential debate was a firecracker, not a bomb.

The blast occurred while President Joko Widodo and challenger Prabowo Subianto were on stage at Jakarta's Sultan Hotel for a televised pre-election debate.

Footage recorded on mobile phones showed people running in fear, while a voice, amplified by loudspeaker, urged them not to panic.