Fig debugging