Debugging VS Code with Android emulator


#1

Hello,

i have problems with debugging my ionic project in VS Code with android emulator. The build of the app is working, emulator is starting but after a few seconds i get an exception.

German:
Es kann keine Verbindung mit dem Laufzeitprozess hergestellt werden, Timeout nach 10000ms Ursache: Es kann keine Verbindung mit dem Ziel hergestellt werden: read ECONNRESET.

English:
Can not connect to the runtime process, timeout after 10000ms Cause: Can not connect to the target: read ECONNRESET.

i found nothing helpful in google.

cli packages: (C:\Users\marcus\AppData\Roaming\npm\node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : not installed

local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : android 7.0.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    Node              : v8.9.4
    npm               : 6.0.1
    OS                : Windows 10

Environment Variables:

    ANDROID_HOME : C:\Users\marcus\AppData\Local\Android\Sdk

Misc:

    backend : pro

VS Code Version: 1.23.1
Android Studio 3.1.2

thanks in advance