How to see gradient that is backpropagate with respect of different loss function

I i have 2 losses at the end Loss = Loss1 + Loss2, when my model do back-propagate, is there a way to see gradient with respect of each loss?