Bricked Wemos d1 mini,visual studio code

Then try first bridging D3 and GND, then powering it via USB and then uploading (while the bridge is still there).