Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ECONNREFUSED error

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
brad.bylls
269 Views, 2 Replies

ECONNREFUSED error

Trying to debug an add-in and get the error message.

It worked yesterday but not today.

Closed all programs and restarted the computer.

Opened Fusion360, tried to debug a program and nothing happened.

Tried what I searched out on this forum with no luck.

I get this when click Debug in VSC:

Screenshot 2024-04-08 114359.png

 

 

 

 

 

Any ideas?

Thanks.

Brad Bylls
2 REPLIES 2
Message 2 of 3
BrianEkins
in reply to: brad.bylls

I'm not sure if this is related to change in the latest VS Code or not. When I ran into the problem, I didn't get this dialog, but instead, when I would try to edit a script from the Scripts and Add-Ins dialog, nothing would happen. I have seen your problem where the dialog pops up, but it usually happens after I've been debugging a script or add-in for a while, and something gets messed up with Fusion's connection to VS Code. Closing and restarting Fusion has always fixed it for me. Because of the timing, I suspect it's somehow related to the other issue and you should follow the instructions there and see if that helps.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3
brad.bylls
in reply to: BrianEkins

@BrianEkins 

FYI

I changed line 6 in launch.jason from "Python" to "debugpy" and now it works fine.

 

Brad Bylls

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report