Debug flag

The debug flag on the command line will pause the runtime during core
component initialisation so the debugger can be attached if required.