When I try to debug my robot code (with Cmd-Shift-P > WPILib: Debug Robot Code), it seems to deploy fine (and I can do normal deploys without a hitch), but the debugger won’t connect. I get a popup with a “connection refused” error.
I’m not in front of the robot right now, but if you have any tips to try, I can take a look next time I’m at the shop. Thanks!
What language are you attempting to debug, and what desktop platform?
BTW debugging on robot isn’t well supported, and has been known to break in the past. Its usually much easier to either debug simulation, or use print statements or network tables variables to debug.