costa974 / javacef

Automatically exported from code.google.com/p/javacef
0 stars 0 forks source link

remote debugging in embed mode.. #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I am developing an application using local storage..

The app is working fine in google-chrome browser.
But the same is not working in 'embedded mode'.

Hence, I was trying to find out why.

It would have helped me if 'remote debugging' is enabled in embed mode.

I haven't done any experiment yet :(. 

It has been long time since the last walk on javacef's source.

Need some quick answers..please:

1) Is 'remote-debugging-enabled' by default ?
2) Is 'local storage supported' by default ?
3) Command line switches ?.

If not..
1) Is it possible to enable it by any means ?

If so..any patch/fixes/source-file(to read) to enable them.

Original issue reported on code.google.com by kscr...@gmail.com on 27 Nov 2014 at 8:14

GoogleCodeExporter commented 9 years ago
1. I tried to add "settings.remote_debugging_port = 8080;" in 
chromium_loader_linux.cpp and it worked on 127.0.0.1:8080. You can also right 
click in javacef and then "show dev tools".

2. I tested to set and get local storage in the dev tools. It worked in the 
current session. The values were lost when re-opening javacef. You can set 
settings.cache_path to a disk location, so the values will be preserved.

3. Should be possible by changing code.

Original comment by wjyw...@gmail.com on 27 Nov 2014 at 10:18