Accretion of eroding pebbles and planetesimals in planetary envelopes Tunahan Demirci and Gerhard Wurm A&A, 641 (2020) A99 Published online: 15 September 2020 DOI: 10.1051/0004-6361/202038690