google-chrome-devtools

How to deal with the overlay Paused in debugger while automated test execution using Selenium

╄→尐↘猪︶ㄣ 提交于 2019-12-03 10:19:27
Everytime I try to access this website and open google-chrome-devtools I am unable to inspect any of the elements through the Inspector as the UI is having an overlay along with a message Paused in debugger . The upvoted and accepted answer of this discussion says to check the Source tab, check under the Event Listener Breakpoints panel if you've set any breakpoints under 'Mouse'. I have cross checked that none of the Sources -> EventListenerBreakpoint are set. The upvoted and accepted answer of this discussion says to check if the little octagonal stop/pause sign (at lower left of Chrome

Chrome Dev Tools very slow to respond in large web app

我是研究僧i 提交于 2019-12-03 10:10:27
I have a large, javascript heavy web app that I am working on. I am experiencing very slow response times from Chrome Dev Tools for XHR responses and console loggging (3-5 secs). The actual app is running fast and responsive, only dev tools looks like it is suffering. Does anyone have any idea why Chrome Dev Tools is becoming sluggish as my app grows? Devtools are like any other debugger; they hook into the normal processing flow of an application, and store quite a bit more information than is normally required. This is much more work than simply rendering the page without debugging enabled,

Chrome Dev Tools hitting code but not breakpoints

て烟熏妆下的殇ゞ 提交于 2019-12-03 10:10:06
I have breakpoints enabled on chrome dev tools and I have a breakpoint on a line. I know chrome is hitting the line because I put the breakpoint on a line that has the following statement: alert("why is this not breaking") The breakpoint works if I find the file in the localhost. The breakpoints used to function in the local editor but now they won't. Has anyone else had a similar problem? I had a similar problem not hitting my breakpoints. Turned out it was because it was a deployed version of the site but the dev tools still had my local dev folder mapped to the workspace, the meant I had

What is the Chrome Dev Tools “Hit Test” timeline entry?

两盒软妹~` 提交于 2019-12-03 09:57:53
When looking at a Chrome Dev Tools timeline I noticed that there was a "Hit Test" entry every time somethings happens: Does anyone know what it is? I've done my googling, but am still at a loss. Thanks! A hit test is how a contact (mouse/touch) event is checked to see what it "hit" in the DOM. https://www.chromium.org/developers/design-documents/compositor-hit-testing describes some of this. 来源: https://stackoverflow.com/questions/33174286/what-is-the-chrome-dev-tools-hit-test-timeline-entry

Chrome Workspaces - Saves changes in Sources tab but not Elements

南楼画角 提交于 2019-12-03 09:45:20
问题 I'm trying to setup and use Workspaces on Canary and I'm running into a few issues. I understand that is still under development but could someone clarify these issues i'm having aren't or are related to the fact that its still under development? Basically I setup a workspace in DevTools, locating the directory on my file system. Do I need to put anything in URL prefix and folder path input boxes? I've experimented leaving them blank, filling them in etc, but due to the lack of documentation

jwt: Why is my token shown in Chrome DevTools?

纵饮孤独 提交于 2019-12-03 09:43:05
I have a API in Express.js that will create blog posts and add them to my database. When I make a request from my React app inside of DevTools it will show my JWT. I am worried that when my site goes live people can see my token and make a request from their site to add unwanted posts. Please tell me what is going on and how I can prevent the security error. When you send a request with a token in the header it will look like this in the header pane in Developer Tools: I assume that's what you are wondering whether is safe or not. The connection between the React app and the API is unencrypted

Chrome DevTools won't let me set breakpoints on certain lines

非 Y 不嫁゛ 提交于 2019-12-03 09:19:25
In the image above, I tried setting breakpoints on every line from line 437 to line 443. However, I cannot set breakpoints on lines 439 and 440. When the function runs, the breakpoints on lines 437, 438, 441, and 442 are ignored. Chrome breaks on line 443. This means that I cannot do some debugging before the first conditional runs. When I click on lines 439 or 440, the breakpoint appears for half a second and jumps to line 443. Is this a bug or am I missing something? How do I set a breakpoint at or before line 439? If you are using js minification and sourcemaps, ensure that they are up to

Chrome DevTools converts all HEX Colors to RGB

只愿长相守 提交于 2019-12-03 09:19:22
Recently, Chrome DevTools has begun converting all elements' HEX colors to their RGB values, regardless of whether that HEX color is set in CSS or through the DevTools itself. How to stop that? I am aware of the hold down Shift + click the color icon method of converting colors to other formats, but I find this inconvenient. I am wondering if anyone knows how to stop this from happening? Open Chrome DevTools panel: Click 3 dots icon at the far right corner, select Settings , and in the Preferences panel find Elements > Color format , select the option you wish to have, As authored is the

Does the “Set next statement” feature exist in Chrome's Dev Tools or in Firebug?

放肆的年华 提交于 2019-12-03 09:19:17
IE's development tools, more specifically its JavaScript debugger, offer a "Set next statement" command, which enables you to specify which statement should be executed next. That way, you can effectively skip certain parts of functions or even (again, effectively) return from a function early. So, for this function... function test () { alert(1); alert(2); alert(3); } If we set a break-point on the first alert, and then invoke the function, we can execute the first alert (F10), and then right-click on the third alert and choose "Set next statement". Now, if we press F10, the third alert will

How to debug remote node.js app using chrome devtools

我只是一个虾纸丫 提交于 2019-12-03 08:42:24
I have a simple console node.js app that is running on a remote server. I would like to debug it remotely using the Chrome DevTools. How can I do that? Follow this instruction here Another good article here Let's say you are running Node on remote machine, remote.example.com, that you want to be able to debug. On that machine, you should start the node process with the inspector listening only to localhost (the default). $ node --inspect server.js Now, on your local machine from where you want to initiate a debug client connection, you can setup an ssh tunnel: $ ssh -L 9221:localhost:9229 user