layers debug