I set a breakpoint in a javascript function with Google Chrome Developer Tools.
I am looking for a variable in the scope variables of the function with the value “Fred.” How do I search for this value amongst the variables within the scope of the function?
Since you’ve set a breakpoint within Chrome DevTools on a particular line, that’s within the scope/context of said variable. When browser execution reaches the breakpoint, you’ll have access to all variable/functions within its, and the global, scope.
Navigate to the console tab and start typing, the console will autocomplete variables within scope.
For more information about Chrome DevTools visit:
https://developers.google.com/chrome-developer-tools/