cordova-tools Error processing "launch": Unable to find webview | Ionic 4 - Angular 7 on VS code

807 views Asked by At

i need an help...So my target is debug my ionic apps with visual studio code and breakpoint inside. So my configuration is:

enter image description here

So, my configuration (launch.json) is:

   {
        "name": "Attach to iOS on device",
        "type": "cordova",
        "request": "attach",
        "platform": "ios",
        "target": "mytarget device",
        "cwd": "${workspaceFolder}",
        "sourceMaps": true,
        "port": 9222,
        "attachDelay": 5000
    },
    {
        "name": "Run iOS on device",
        "type": "cordova",
        "request": "launch",
        "platform": "ios",
        "target": "my target device",
        "sourceMaps": true,
        "cwd": "${workspaceFolder}",
        // "ionicLiveReload": true,
        "devServerTimeout" : 420000,
        "port": 9222,
        "attachDelay": 5000
    } 

In order to run, i've Run iOS on device and after app starts on the device i've run Attach to iOS on device. So when i think everything works: visual studio return me this error:

Attaching to ios
Configuring debugging proxy
Unable to find webview <- this is my error.

I can't to resolve this error, how can i do to works and find the webview? I've try to set this:

"attachDelay": 5000

but without success. Any ideas ?

Thanks

0

There are 0 answers