Similar to debug_traceBlock, traceBlockByHashByNumber accepts a block number and will replay the block that is already present in the database.
debug_traceBlockByNumber:params[0]: Block number where this transaction was included. Null when pending.params[1]: Optional configuration object passed to tracing RPC methods.