any way to obtain pixelformatdescriptor?

Is there any easy way to find out which pixel format descriptor for openGL OF is using? Driving myself crazy trying to debug something here and knowing the pfd would be immensely helpful!
Cheers,
Andy