A man will remain behind bars after facing court charged with the attempted stabbing murder of an on-duty paramedic.