<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can't edit or debug my python scripts in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12751868#M1453</link>
    <description>&lt;P&gt;So I wanted to start playing around with python scripts inside of Fusion but it seems like I can't even manage to open them from Fusion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pressing the edit/debug does absolutely nothing. I read a couple of thread's absolut downgrading a python extension in Vs code but it did not work for me.&lt;/P&gt;&lt;P&gt;I also tried to do a new clean install of everything but it still doesn't seem to work for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would love to know your thoughts about what the issue might be.&lt;/P&gt;&lt;P&gt;Thank you so much in advance,&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2024 22:47:57 GMT</pubDate>
    <dc:creator>erik_per_rosen</dc:creator>
    <dc:date>2024-05-03T22:47:57Z</dc:date>
    <item>
      <title>Can't edit or debug my python scripts</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12751868#M1453</link>
      <description>&lt;P&gt;So I wanted to start playing around with python scripts inside of Fusion but it seems like I can't even manage to open them from Fusion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pressing the edit/debug does absolutely nothing. I read a couple of thread's absolut downgrading a python extension in Vs code but it did not work for me.&lt;/P&gt;&lt;P&gt;I also tried to do a new clean install of everything but it still doesn't seem to work for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would love to know your thoughts about what the issue might be.&lt;/P&gt;&lt;P&gt;Thank you so much in advance,&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 22:47:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12751868#M1453</guid>
      <dc:creator>erik_per_rosen</dc:creator>
      <dc:date>2024-05-03T22:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can't edit or debug my python scripts</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12753123#M1454</link>
      <description>&lt;P&gt;It looks like VS Code changed in this last update, which has broken how Fusion interacts with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The most recent release of Visual Studio Code (1.89.0) has changed how it supports Python, and this change has broken how Fusion sets up and connects to Python. This results in not being able to open VS Code from the Scripts and Add-Ins dialog, which means you can’t debug your scripts and add-ins. In case you’re interested, here is the breaking VS Code change:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/microsoft/vscode-python/pull/23211" target="_blank" rel="noopener noreferrer"&gt;https://github.com/microsoft/vscode-python/pull/23211&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've learned that this change was a surprise, and Autodesk is working on a fix., but until that can be delivered, you can patch it on your side. To do that, extract pre-run.py from the attached zip file and copy it to the following location. (It won't allow me to attach a py file.) This will overwrite your existing pre-run.py file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Windows&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;%appdata% \Autodesk\Autodesk Fusion 360\API\Python\vscode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Mac&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;~/Library/Application Support/Autodesk/Autodesk Fusion 360/API/Python/vscode&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 May 2024 00:19:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12753123#M1454</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2024-05-05T00:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can't edit or debug my python scripts</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12753431#M1455</link>
      <description>Thank you so much for the fast response even if i asked the question on a weekend.&lt;BR /&gt;This fix worked like a charm!&amp;nbsp;</description>
      <pubDate>Sun, 05 May 2024 08:38:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12753431#M1455</guid>
      <dc:creator>erik_per_rosen</dc:creator>
      <dc:date>2024-05-05T08:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can't edit or debug my python scripts</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12768693#M1457</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;&amp;nbsp;this worked for me as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 06:14:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12768693#M1457</guid>
      <dc:creator>YouElz</dc:creator>
      <dc:date>2024-05-13T06:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't edit or debug my python scripts</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12771220#M1458</link>
      <description>&lt;P&gt;The lastest release (2.0.19204) seems to fix this issue, at least on Windows.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 05:51:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/12771220#M1458</guid>
      <dc:creator>JeromeBriot</dc:creator>
      <dc:date>2024-05-14T05:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't edit or debug my python scripts</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/13629616#M1459</link>
      <description>&lt;P&gt;Hello, i am currently experiencing this issue however, the pre-run.py file does not seem to work anymore. I tried a clean install and downgrading VS code. I am using a trial version to test. If this test is succesful i can apply for a licence. However, when i just installed the program I could edit the scripts, so something has broken it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 10:40:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/13629616#M1459</guid>
      <dc:creator>k_vermeulenL82UR</dc:creator>
      <dc:date>2025-05-14T10:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can't edit or debug my python scripts</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/13636989#M1460</link>
      <description>&lt;P&gt;I tried clean installing again, however, that still does not seem to work. Anyone else experiencing this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 07:44:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/13636989#M1460</guid>
      <dc:creator>k_vermeulenL82UR</dc:creator>
      <dc:date>2025-05-19T07:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can't edit or debug my python scripts</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/13644507#M1461</link>
      <description>&lt;P&gt;Just to document the solution for other users. Selecting other (unused) debugging port solved the issue:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dominik_zarczynski_0-1747916204756.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1536157iDFF49651B1713B92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dominik_zarczynski_0-1747916204756.png" alt="dominik_zarczynski_0-1747916204756.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 12:17:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/can-t-edit-or-debug-my-python-scripts/m-p/13644507#M1461</guid>
      <dc:creator>dominik_zarczynski</dc:creator>
      <dc:date>2025-05-22T12:17:43Z</dc:date>
    </item>
  </channel>
</rss>

