Where to find Google Chrome logs - google-chrome

Where to find the Google Chrome logs? In which location can I find the Chrome logs if it crashes?

First, you must enable crash logging in advanced settings by ticking "Automatically send usage statistics and crash reports to Google".
Crash logs can then be found in chrome://crashes.
Note that by enabling this, your crash reports and stats will be sent to Google servers...

Dump files are stored under %HOMEPATH%\AppData\Local\Google\Chrome\User Data\Crashpad\reports
Source: https://superuser.com/questions/624/where-is-google-chrome-crash-dump-located

Mac OS 10.13.4
Chrome Version 73.0.3683.103 (Official Build) (64-bit)
I got:
~/Library/Application Support/Google/Chrome/Crashpad/completed/

In some cases, if you cannot access the Chrome settings page, create a shortcut for chrome and add the following flag to the target.
--enable-logging --v=1
Then run Chrome using that shortcut, and you can see the log file in your user folder.
C:\Users\[User name]\AppData\Local\Google\Chrome\User Data\chrome_debug.log
Chrome Browser debug logs

Related

explicitly-allowed-ports not working in latest google chrome v. 72.0.3626.109

We have few local sites with unsafe ports i.e. 100,101,102,103. Those were working fine on google chrome with explicitly-allowed-ports in the shortcut target. Suddenly they have stopped working for new update version of chrome v. 72.0.3626.109.
I am not able to find any solution to it. Even if I install the old version of chrome it gets updated to the new one. Can you please guide me what to do. I cant change the mapping of websites as there are limitations. Please guide.
This bug was already found in the Canary branch:
https://bugs.chromium.org/p/chromium/issues/detail?id=916025
Temporary solution is to disable the "Enable Network Service" option in the chrome://flags settings

Chrome Headless Doesn't work

I've read about the Chrome Headless from developers.google said we can run the Google without UI. Quote from that link :
Headless Chrome is shipping in Chrome 59. It's a way to run the Chrome
browser in a headless environment. Essentially, running Chrome without
chrome! It brings all modern web platform features provided by
Chromium and the Blink rendering engine to the command line.
Why is that useful?
A headless browser is a great tool for automated testing and server
environments where you don't need a visible UI shell. For example, you
may want to run some tests against a real web page, create a PDF of
it, or just inspect how the browser renders an URL.
This is really great feature, so I do some experiment with this cool feature. The idea is to taking snapshot as the document site by do call of chrome.exe from Windows Command Prompt, as follow :
chrome --headless --disable-gpu --screenshot https://www.chromestatus.com/
After do several times and following the instruction from these site. I got nothing. I don't get any picture or screenshot with name screenshot.png as document mention it before Running with --screenshot will produce a file named screenshot.png in the current working directory.
From this document also said about version,
Caution: Headless mode is available on Mac and Linux in Chrome 59.
Windows support is coming in Chrome 60. To check what version of
Chrome you have, open chrome://version.
after do some check with suggested before, I run chrome://version on my Chrome on Windows x64 Machine and got some result :
Google Chrome 62.0.3202.94 (Official Build) (64-bit) (cohort: Stable)
Revision 4fd852a98d66564c88736c017b0a0b0478e885ad-refs/branch-heads/3202#{#789}
What wrong? What i missed?
Thanks
After do some experiments. for --screenshot will save the image on the same level as chrome.exe location and that will be mean save on Program Files.
So we need need to combine parameter names and arguments with a =
--screenshot="D:\screen.png" will work, otherwise Chrome writes to it's installation folder. Big design flaw, no software should use it's installation folder as a working directory.
Here are the complete argument :
chrome --headless --enable-logging --disable-gpu --screenshot="D:\screen.png" "https://www.chromestatus.com/"

Chrome Developer Tools not displaying (Version 51.0.2704.84 (64-bit))

I'm no longer able to access my Developer Tools in Mac Chrome (Version 51.0.2704.84 (64-bit)). This is the latest update for Chrome. CMD-OPTION-I and View > Developer > Developer Tools provides no result.
Is anyone else having this issue? Any ideas how to fix?
Try go to ~/Library/Application Support/Google/Chrome/Default\Local Storage and delete these two files :
chrome-devtools_devtools_0.localstorage
chrome-devtools_devtools_0.localstorage-journal
Or purge all your Google Chrome User Data and reinstall Chrome.
To fix this issue, I did the following:
Made a backup of /Users//Library/Application Support/Google/Chrome/Default.
Delete the Chrome App
Deleted the root Chrome folder /Users//Library/Application Support/Google/Chrome/
Downloaded and reinstalled the latest version of Chrome (Tried a simple update before previous steps, but didn't work)
Removed defaults from the new install
Copied back up of default content into new Default folder
Dev tools are now functioning again.

--disable-web-security not working anymore in Chrome 30

I updated Google Chrome to Version 30.0.1599.69 m. Now the "--disable-web-security" flag is not working. How do I to disable the websecuritiy in Google chrome Version 30.0.1599.69 m
I think the problem is with the chrome instance running in the task bar.
Please check whether any other instance of the Chrome is running in
the task bar. Even a single instance will not let chrome reflect the
command.
Kill all and then try running this command again.
extend disable web security command with --user-data-dir. This worked for me, more details are on >https://bugs.chromium.org/p/chromium/issues/detail?id=575690
Command I use in windows :
"C:\Users\Public\Desktop\Google Chrome.lnk" --disable-web-security --user-data-dir

Does Chrome browser build verion 4.0.249.78 still support user script?

I had a couple of user script that worked in version 3.5 by adding command line option --enable-user-script, after I upgraded to version 4.0, all those scripts stop working. Chrome browser is promoting its extension, some of user script can be replace by a chrome extension. Can anybody confirm if latest chrome browser stop supporting user script?
The latest Chrome builds allow you to install a user script as an extension with no modification. Just open the .user.js in the browser.