working with chromium and chrome
adding debug mode