Questions tagged [chrome-debugging]
100 questions
0
votes
0 answers
Is there a feature in Chrome Debugger that will show where a code path deviates?
I'm debugging my code using Chrome Debugger and if I call the same method twice the result is different. If possible, I would like to know at what line in the execution of the code, the code deviates from the previous time.
I am stepping through the…

1.21 gigawatts
- 16,517
- 32
- 123
- 231
0
votes
0 answers
Incorrect line numbers in Jasmine/Karma and Chrome debugger
When I run my unit test cases using Jasmine/Karma and debug the application in Google Chrome, when I set breakpoints and step through the application, the line numbers the application stops on are visually wrong. Additionally, the lines mentioned in…

D J
- 3
- 2
0
votes
1 answer
How to handle chrome.debugger.attach errors?
In my extension I'm trying to attach debugger for given tabId, Here is my code
if(!attachedTabIds.includes(tabId)) {
chrome.debugger.attach({ tabId: tabId }, version, function(){
...
})
}
So from time to time I'm getting this…

Armen Stepanyan
- 1,618
- 13
- 29
0
votes
0 answers
How to debug a web assembly c# code deployed to local azure service fabric
I have a web assembly application that I deployed to the local azure service fabric cluster on Windows 11. How can I debug the c# code defined in the web assembly page through the browser and/or visual studio?

SYL
- 155
- 1
- 14
0
votes
1 answer
Accessing in Chrome POST response body from Cloudflare Worker
I am trying to read a response from a Cloudflare Worker API, I have not set anything sepcial about it and in Postman the request works as expected. I am guessing I am missing some header but I am not sure which one or even if that is the reason…

Bogdan M.
- 2,161
- 6
- 31
- 53
0
votes
0 answers
Chromium consuming above 50% CPU and crashes while playing a video
I have built the latest stable version of Chromium (at the time of writing 100.0.4896.88) in debug as well as in release mode.
I changed the name and logo of the browser by making changes in some files, thanks to this and this post.
Currently, I am…

Obaid Ur Rehman
- 324
- 2
- 15
0
votes
1 answer
How to inspect an auto-complete widget with chrome's inspector?
I am trying to use jquery-ui's autocomplete widget (1.12) and it looks weird.
I found this question that has some advice about style, version unknown.
Normally I would open the page in chrome, open the debugger, click on the button that says "Select…

dfrankow
- 20,191
- 41
- 152
- 214
0
votes
1 answer
Using the chrome.debugger library what is the proper syntax for sending a letter?
I have been successful in sending a a letter (or text string using this syntax):
chrome.debugger.sendCommand({ tabId: tabs[0].id },'Input.dispatchKeyEvent',{ type: 'keyDown', text: "b", isKeypad: true });
And this would be fine for most of my needs…

Joseph U.
- 4,457
- 10
- 41
- 47
0
votes
1 answer
Problem debugging in chrome after updating to angular 11
After I updated my angular 9.1 application to angular 11:
When debugging in one of the libraries chrome does not stop at my breakpoints. Other libraries and app can be debugged like before.
In the problematic library I also can not put breakpoints…

gusya59
- 45
- 7
0
votes
1 answer
vscode on WSL - Chrome debug failing
I'm brand new to JS development and just started an introduction to JavaScript course.
I've edited this question as I have tried different approaches
I'm trying to use my Windows 10 machine with Windows Subsystem for Linux version 2 (WSL2)…

user965586
- 563
- 5
- 22
0
votes
1 answer
How to get console logs on Chrome mobile without usb debug?
I once came across an SO answer that gave a Chrome URL to navigate to, that had a button to "enable" JS console logging. After enabling the logging, that tab would show the console logs of other Chrome tabs.
I know this answer seems like a…

Chris Hayes
- 11,505
- 6
- 33
- 41
0
votes
0 answers
Chrome extension simulate keyboard typing
Currently im working with personal chrome extension tool via javascript, im having a hard time with this payment form since the form inputs only accepts user input keypress. I already do some research and i find that the chrome.debugger might work…

Renz
- 1
- 2
0
votes
0 answers
Visual Studio Code - Javascript Errors Do Not Show File and Line
I am new to Visual Studio Code.
An error occurred in my javascript. In the console it said:
Uncaught TypeError: Cannot read property 'id' of undefined
But had underneath:
No debugger available, can not send 'variables'
I have Chrome Debugger…

Rewind
- 2,554
- 3
- 30
- 56
0
votes
0 answers
How do I debug a web-page if there's some script running into stuck?
I have developed a web page with more than 10 external javascript dependencies.
The web page will load a file (via AJAX) and do some work.
However, when the page loads a file, the page got stuck totally. I can't find any abnormal stuff in the file,…

AGamePlayer
- 7,404
- 19
- 62
- 119
0
votes
1 answer
Accessing object variables in Chrome debugger (VueJS debugging)
I am developing VueJS / Express applications, getting into more advanced web dev than I've done before. I use VSCode, and develop the back end and front end in the same project. I am able to use VSCode debugger for the back end work, and use…

SARogersz
- 121
- 1
- 12