sweetpad-dev / sweetpad

Develop Swift/iOS projects using VSCode
https://marketplace.visualstudio.com/items?itemName=sweetpad.sweetpad
MIT License
586 stars 19 forks source link

Remember app path for iOS device #76

Open kvaster opened 1 week ago

kvaster commented 1 week ago

It looks like debugging on iOS device is not currently supported, but it really may be done with this patch and 'iOS Debug' extension using following configuration:

{
        {
            "name": "iOS Debug",
            "type": "lldb",
            "request": "attach",
            "program": "${command:sweetpad.debugger.getAppPath}",
            "iosBundleId": "<BUNDLE_ID",
            "iosTarget": "select",
        }
    ]
}

p.s.: for debugging iOS 17 and higher you will need iOS debug plugin compiled with the following PR: https://github.com/nisargjhaveri/vscode-ios-debug/pull/25

hyzyla commented 1 week ago

make sense for now