USB communication error in ST-LINK v2
I have hooked every vdd of breakout board to 3.3V pin of programmer and connected vss of breakout board to ground.


The ST-Link does not provide power to its target. The VREF pin on the programmer is used to sense the target's operating voltage, not to supply it. You will need to supply power to the microcontroller separately.

Additionally, the breakout board you're using does not contain any decoupling capacitors close to the supply pins. This will prevent the microcontroller from working properly -- adding capacitors at the pin headers will not be sufficient, as the inductance of the traces, pins, and capacitor leads will prevent the capacitor from responding at the high frequencies required for decoupling capacitors. You will need to redesign this board with one (SMD) ceramic capacitor located within ~1cm of each VDD pin.

Please refer to some of ST's development boards as an example of how to implement this part -- schematics are available on ST's web site. You may be particularly interested in the Nucleo-64 series, which includes some boards with this exact part.