Preheat the oven to 450 degrees F. Line a sheet pan with parchment paper.
Place the gnocchi, asparagus, red onion and bell peppers on the prepared sheet pan. Sprinkle with a pinch of salt and pepper. Mix the olive oil and pesto in a small pitcher. Drizzle over the pan and toss to coat.
Bake for 10 minutes. Remove and toss. Sprinkle over the tomatoes. Return to the oven until the gnocchi have begun to brown and crisp, an additional 8 to 10 minutes. Remove from the oven and sprinkle on the Parmesan shavings. Drizzle with the balsamic glaze and sprinkle over the basil leaves to serve.