You track this by putting a breakpoint in the interrupt handler. If you are using HAL, then look in the src/stm32XXX_it.c (where "***" is for your CPU, for example, "f4xx"). Of course that will break on ANY USB interrupt, not just the one you are stimulating by setting that bit.