Can I configure chrome to allow me to break in my java script onAppUnload - javascript-debugger

My breakpoints in the close method of my app do not catch when I close the browser tab.
I understand that this is because chrome is aggressive in closing the web app.
Is there a way to get chrome to be less aggressive so that I can debug my apps close flow?

Related

How to disable Javascript debugging in NetBeans when using ScriptEngine?

Development environment is netbeans, java application, which runs javascript thru ScriptEngine in GraalVM.
When using debug mode, it automatically force a debug session with Chrome when scriptengine starts.
console shows: Debugger listening on ws://127.0.0.1:9229/xxxxxxxxxx
For help, see: https://www.graalvm.org/tools/chrome-debugger
E.g. in Chrome open: devtools://devtools/bundled/js_app.html?ws=127.0.0.1:9229/xxxxxxxxxx
But the address xxxxx keep changing whenever I restart the debug session. I have to open chrome with the new address, because the javascript by default is paused and have to click continue in chrome for the program to continue.
Since I am not interested to debug the javascript side most of the time, is it possible to configure netbeans to avoid this chrome debugging session started ?
Problem fixed when removed this VMoption -Dpolyglot.inspect.Secure=false

Cannot start web-simulator on google actions for API.AI project

I am working on Google Cloud Platform to develop a project in API.AI, I have an integration (in API.AI) with Google Actions (for Google Home or Google Assistant), they provide me to see my progress as real time in web-simulator, that you can find here:
https://developers.google.com/actions/tools/web-simulator
I am trying to START the web-simulator clicking on START button, then I get a window pop-up but after open, it closes, I try and try again but I obtain the same result, I cannot open the web-simulator. I have allowed the popup windows in my browser.
Of course I have completed all steps to start web-simulator...
I don't know what is happening. Someone can help me? Thank you, have a good day.
First, are you using a compatible browser? Try it in Chrome if you're
not already using it, as Chrome is a Google product, and so is the
web simulator.
Next, are you using any Ad-Blockers or
Script-Blockers like NoScript? If so, try disabling them, as they
could interfere with the operation of the tool.
If it still doesn't work, try going to an Incognito Windows by pressing the
three dots button and opening a New Incognito Window. Go to the page, and log
in. This will ensure that no cookies are interfering.
At this point, if you're still having issues, try a different browser.
(Either Firefox or Opera)

Google developer console not loading in Chromium on Debian 7

I am using Debian 7 and Chromium browser.
I'm setting up OAuth authentication via google developer console, but for some reason when I enter https://console.developers.google.com, browser starts loading the page, saying "Waiting for console.developers.google.com" and is stuck forever.
Once in ~7 times it eventually loads the page, but then when I click on any tab, it freezes again.
Anyone experienced something like that?
P.S. On Windows everything's fine.
P.P.S The problem is specific for Chromium browser. Chromium also glitches with google+ notifications - they won't load.
you can try loading Google developer console in privacy mode, meaning opening the console from https://cloud.google.com/ in an incognito window.
"If it works there, it means one of your extensions is causing the security problem and you should remove it." as it explained on the Google Chome Help page :'Fix connection errors.' (Your connection is not private > Tip 2: Try opening the page in incognito mode.)

VS2012 debugging server side code with Google Chrome

I work on an asp.net mvc app.
This morning I was able to debug my server side code from a Google Chrome browser instance. I simply select Google Chrome in place of Internet Explorer in my VS2012 then click on it to run the app. When a breakpoint was reached (for example in my controller) it switch automatically to VS2012 for debugging.
This afternoon I am not able to do it again with Google Chrome. Only able to debug with Internet Explorer.
Any idea what's wrong?
It shouldn't matter which browser you tell VS to open your website in. If your debugger is attached to your C# your breakpoints should be hit as long as you're using the correct URI defined by your MVC app. I use fiddler and postman to debug my controllers all the time. Are you sure you didn't make any changes that would cause Chrome to make an incorrect request? Or perhapse the browser has cached old code and that's why the breakpoints are not being hit? I always open Chrome with ctrl + shift N to avoid having any caching issues.

Is it possible to put Firefox into full screen mode programmatically?

I'm testing something using Splinter / Selenium, using the Firefox webdriver.
I'd like to automate getting the browser into full screen mode. I've tried mozRequestFullScreen but it won't co-operate - I get errors about it not being triggered by a user event (presumably this is a security thing). Is there a way to run Firefox where it will allow this? Or a profile setting or something?

Resources