Samsung / Wits

Wits for Your Tizen web application development.It will saved your development times and bring pleasure of developing out. Using Wits, You can instantly RELOAD your app's JavaScript/CSS code instead of reinstalling your app every time you make a change.
Apache License 2.0
113 stars 25 forks source link

Two instances of Chrome launch when debugging against the emulator #110

Open NeoPhi opened 1 year ago

NeoPhi commented 1 year ago

The launchDebugMode function in appLaunchHelper.js checks to see if deviceIpAddress === EMULATOR_IP. At which point it calls setPortForward which launches an instance of Chrome. However after setPortForward returns another instance of Chrome is launched within launchDebugMode. It is unclear why the launch is needed within setPortForward since the debugIP is remapped to local host.

I wanted to confirm the intent before submitting a PR.