Because my gpkx fails under local GP service at arcpy.JSONToFeatures_conversion(), I tried with Visual Studio 2022 with Pyson Environment pointed to arcgispro-py3 under ArcGIS Pro 2.9.4. The script ran fine with the same inputs. I wanted to try the script with Visual Studio 2022 using Local Server arcgispro-py3. It fails with permission denied. Is there any way to do this? I really want to debug to identify why Local GP server fails but runs fine under Visual Studio. Interesting thing I found was that Local Server arcpy version is 10.9.1 vs. ArcGIS Pro 2.9.4 arcpy version is 2.9.4. The version should be the same?