Pulled from the HM-10 datasheet and referenced with the CC2541 datasheet. Note that sometime in the middle of 2014, HM-10s started shipping with CC2541s instead of CC2540s. The differences are minor.
To use with the CC Debugger, connect P2_1 (debug data), P2_2 (debug clock), RESETB, GND and VCC (only if you want the debugger to power the board). See the CC Debugger pinout here.
Other sources claim that some of the unconnected pins are PCM audio pins. This is false.