Pedrosa was definitely promoted to the B-team in July 2017, after the club's relegation, and scored his first senior goal on 10 September of that year, netting his side's second in a 3–2 home success over UE Sant Andreu. He made his first-team debut on 1 November 2018, starting in a 1–2 away loss against Cádiz CF, for the season's Copa del Rey.[3]
Pedrosa made his La Liga debut on 16 December 2018, playing the full 90 minutes in a 1–3 home loss against Real Betis. He scored his first goal in the category the following 13 April, netting the opener in a 2–1 home success over Deportivo Alavés.
On 22 May 2019, Pedrosa signed a new contract with the Pericos until 2023, being definitely promoted to the main squad.[4]
Sevilla
On 1 July 2023, after Espanyol's relegation, Pedrosa signed a five-year contract with Sevilla FC also in the top tier.[5]