Move debug before super(client)