What is the default setting in Chrome debugger regarding source maps? - google-chrome

When you just download Google Chrome for the first time, what is the default setting on source maps?
There is a checkbox in the general settings panel of the Chrome debugger that says 'Enable JS source maps' - Is this checked or unchecked by default when you install Chrome for the first time? Mine is ticked, but I can't remember whether it was like that from the beginning or if I ticked it manually - Resetting Chrome settings to factory defaults doesn't seem to reset the debugger settings so there is no way to tell.
It's for a tutorial I'm writing.

Following Rob W's advice, it appears that source mapping is enabled by default.

Related

chrome developer tools does not display?

I'm using Version 80.0.3987.116 (Official Build) (64-bit) on Microsoft Windows [Version 10.0.17134.1304]. The Chrome Developer Tools simply do not appear for me no matter which way I try to access them:
ctrl+shift+i
f12
ctrl+shift+j to open the last used panel
ctrl+shift+c to open the elements panel
right click on a web page and select inspect from the popup
menu dots menu -> more tools ->
developer tools
I've restarted my computer. I've gone into settings -> advanced settings and restored all settings to their original defaults, then restarted chrome. This disables all extensions, so even with all extensions disabled it still didn't display. I've cleared the cache.
It was all working last Friday, but not when I tried Monday.
Has anyone seen this or have any other troubleshooting ideas? The only other thing I can think of is uninstall with something like Revo Uninstaller to scrape the registry and filesystem, then in my profile zip up then delete %userprofile%\AppData\Local\Google and %userprofile%\AppData\Roaming\Google. That seems extreme if there's an easier way.
Anyone seen anything similar?
Thanks!
I feel stupid figuring this out so quickly after posting the question. But if anyone else finds this, here's what worked for me.
ctrl+t to open a new tab
enter chrome://flags/ in the address bar
click reset all to default
let chrome restart
I'm not sure which flag was set that caused this. When I searched for devtools, there were three available settings, and they were all set to either disabled or default. And that's what they were after I did a reset all too. So whatever broke it was some other setting.

Unable to enable Javascript in Google chrome

I am not able to enabled javascript in Chrome. Option to enable/disable is coming as disabled (snapshot attached).
I tried installing different version also, but looks like versions are picking the same setting.
Anyone know how can I enable it via settings (some flag in preference directly), since button to enable it via UI is disabled itself.
Ok, I changed the manifest file inside
/Applications/Google Chrome.app/Contents/Resources/com.google.Chrome.manifest/Contents/Resources/com.google.Chrome.manifest
Searched for JavaScript and changed DefaultJavaScriptSettings. It works for now.

Can't find the "Override requests with workspace project" in Chrome DevTools Canary

For the life of me I can't find where to enable this setting: Override requests with workspace project in Chrome Canary v64.0.3
Where do you enable this feature?
I learned about this feature from here: https://umaar.com/dev-tips/162-network-overrides/
Currently with 65 Chrome Canary it's not experimental anymore.
But you still cannot "Save for overrides" XHR requests.
This restriction is only in UI. To get XHR request override:
Open "Sources tab" in Chrome Canary DevTools and "Overrides" sub-tab under it.
Check "Enable Local Overrides" and add a folder to store changes in the filesystem.
Open "Network" tab in Chrome Canary DevTools and select XHR request
Press "Open in new tab"
Go to new opened tab Chrome DevTools - "Network"
Select the first request in the list and "Save for Overrides" button appears.
You can follow the gif from question starting step 5:
It's behind an experiment (https://developers.google.com/web/tools/chrome-devtools/ui#experiments) then it'll be under experiments in the settings panel of devtools.
Please do be warned though, this is an experimental feature, there are bugs and it might not work as intended.
We are trying hard to get it fully released soon (on Canary) but it needs to be a 1st class feature before we will feel ready to release it.
I think they might have shipped the feature, so it's no longer behind an experiment.
Try the workflow that Umaar outlined, omitting the step about enabling the experiment.
Haven't tried it myself yet, so I could be wrong
The feature is no longer an experiment in Chrome Canary (current version at the time of this: 64.0.3261.0). You can start to use it now. It will take a little time to arrive in Chrome stable.
In the latest version of Chrome Canary (Version 65.0.3317.2) you still need to enable dev tool experiments. The option is still behind the experiment flag #kayce-basques . I also followed the tutorial of Umaar - also using GitHub for testing - but I don't get any visible website changes after pressing F5.
Has someone figured out how to get it to work?
(1) Select the Overrides Tab in the Sources Panel.
(2) Click the Setup Overrides ( + icon) to add an empty folder.
(3) Confirm that Enable Network Overrides are enabled.
(4) Select the js file to be persisted on the Network Tab and display the source code in the code editor.
(5) Add code “console.log (‘hello world’);” to the beginning of the source code.
(6) Right click on the source code, select command [Save for overrides] on the context menu.
(7) Reload the current page after saving the file.
(8) Open the Console Panel and check the result.
This feature is now enabled in chrome stable you can follow these step:
In chrome go to "Sources tab" then in devtools "Overrides" click "Enable Local Overrides" then create a folder to put the changes in the filesystem. Go to
"Network" then select XHR request then "Open in new tab" then go to new opened tab Chrome DevTools - "Network"
pick the first request in the list and normally you will have a "Save for Overrides" button appears.

Chrome extension added but not in extensions list

I created and uploaded a Gmail extension to the Chrome Store and have been trying to test it. I deleted it from my extensions list in Chrome and when I went to go re-download it from the Web Store it said "Added to Chrome" and would not let me re-download it. I found a few solutions that described how to delete cached data on a PC, but I'm using a Mac. Any ideas?
I'm a total newbie at this so any help would be appreciated. Also not a very strong Mac user. Thanks!
Try to restart your Chrome browser, if the extension still not exist, reset the chrome settings to default, you need to do this if apps or extensions you installed changed your settings without your knowledge. Your saved bookmarks and passwords won't be cleared or changed.
Open Chrome.
In the top right, click the icon menu
Click Settings.
At the bottom, click Show advanced settings.
Under the section "Reset settings,” click Reset settings.
In the box that appears, click Reset. ​

Did your homepage, search engine or Chrome settings change?

is your default search engine different than what you originally set it as?
Did any of your other settings change without your consent?
There are several steps you can take to fix this issue which are given below.
Try to reset your browser settings which will revert settings including your default search engine and homepage to the original state. (Note: passwords and bookmarks will not be reset.)
1.Click the Chrome menu Chrome menu on the browser toolbar
2. Select Settings.
3. Click Show advanced settings and find the "Reset browser settings” section.
4. Click Reset browser settings.
Check to see if there is a program on your computer or an extension that’s making unwanted changes. Find your extensions by going to Chrome Menu > Settings > Extensions and disable any extensions you don’t recognize.