Correctly dealing with crumbling basement walls

I have an older home with stone foundation and some type of crumbling lath covering it. After doing some rearranging in my basement I cleared a wall which I'm going to put shelves against. Before doing so, I had to remove a large pile of debris from the crumbling wall. Is there a way to repair this to prevent future debris from accumulating? I'm sure a skim coat of something would be the answer. I'm just not sure what to use. Morter? structolite?
#Stone #Walls #Repair