Essential for the degradation of glycogen in lysosomes (PubMed:14695532, PubMed:18429042, PubMed:1856189, PubMed:7717400). Has highest activity on alpha-1,4-linked glycosidic linkages, but can also hydrolyze alpha-1,6-linked glucans (PubMed:29061980).