Debugging not working on version 2.0.13615
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
After the update last Saturday to version 2.0.13615 the debugger is not working.
Here I describe 3 situations:
1. If I try to debug a script from Fusion360 (Utilities > Add-Ins > select script > Debug) it opens a new Fusion 360 application, instead of loading VSCode.
Same happen if I try to edit the script from Fusion360.
2. If I try to start the debugging from VsCode I receive the following error message:
As you can see it trying to attach to port #9000 as it is defined both in launch.json and in the preference > General > API > Debugging Port
3. From windows command prompt I looked if the 9000 TCP was listening, but I found the following:
netstat -a -b (running cmd with admin privileges):
...
TCP 127.0.0.1:10790 Mcortelaser:0 LISTENING [node.exe]
TCP 127.0.0.1:10790 Mcortelaser:61895 ESTABLISHED[node.exe]
TCP 127.0.0.1:61895 Mcortelaser:10790 ESTABLISHED [Fusion360.exe]
...
which mean the port being used is 10790 instead of 9000. Last 2 lines show Fusion360 is connected to Node with 10790 TCP port.
If I change to that value in launch.json, the error message in previous section is not shown, but still it couldn't attach to Fusion 360 App and non error messages appear on the debug console.
Anyone is experiencing the same problems?
Regards,
Jorge