All Questions
Tagged with debugging javascript
4,146 questions
1
vote
1
answer
96
views
'this' has a different value in the script from what is reported in Firefox console
Here is an html file:
<!DOCTYPE html>
<html>
<head>
<title>check-this</title>
<meta charset="utf-8">
<script type="module">
...
0
votes
0
answers
24
views
Prisma user.create() throws 'Unknown argument team' error despite correct schema setup
let teamData = {};
if (category === "Challenger") {
if (createTeam === false) {
teamData = {
team: {
connect: { teamName: assignedTeamName },
...
0
votes
0
answers
47
views
HTML5 Canvas (with multiple SVG files drawn to the canvas) to PNG is not displaying the SVG files; however PNG is not entirely blank? [duplicate]
I'm working on a project that draws repeatedly to an HTML Canvas using a combination of the lineTo and drawImage methods. As far as I can tell, the actual production of the Canvas works as intended. (...
1
vote
0
answers
23
views
How do I select my normal Chrome profile when debugging Javascript in Visual Studio 2022?
If I enable JavaScript debugging in Visual Studio 2022 then start using Chrome, the browser opens using a profile which is not logged in, so none of my normal extension are available. How do I tell it ...
-3
votes
1
answer
56
views
In FireFox's debugger, how do I break at the first line of JavaScript that an addon runs?
In FireFox's debugger, how do I break at the first line of JavaScript that an addon runs?
I need to break at the entry-point, but I don't know what the entry-point is.
0
votes
0
answers
36
views
Why does my chrome extension only work when I inspect the popup?
I am currently writing up a chrome extension using JavaScript that should in theory run in the background, but I'm having some trouble getting it to. I wanted to create an extension to help me focus, ...
0
votes
0
answers
22
views
Google Translate Dropdown Not Found After Multiple Attempts in Next.js
I'm trying to implement Google Translate in my Next.js app, but I'm encountering an issue where the dropdown element is not found even after multiple attempts.
Error Message:
Google Translate dropdown ...
0
votes
0
answers
30
views
React Native Error: unable to load script error in react native
REACT NATIVE CLI
I'm currently facing an issue with my React Native project. It successfully runs on one specific physical device, but I'm unable to run it on any emulator or other physical devices. ...
0
votes
0
answers
34
views
selecting a city doesn't populate the area dropdown in my subarea form in Laravel 11
I have created City, Area, Subarea Crud in Laravel 11.
where city and area are simple are working correctly but the subarea blade in the add form when the city is selected then why respected areas to ...
0
votes
0
answers
21
views
Flask Form Submission: class_id is "undefined" When Creating an Exam
I'm developing a Flask-based school hub app where teachers can create exams. However, I'm encountering an issue where class_id is "undefined" when submitting the form.
Issue:
When I submit ...
3
votes
2
answers
149
views
In html-embedded Javascript, opening an EventSource to the server breaks Chrome's Sources and Network tabs in DevTools?
I've been working on a new JavaScript project to render a frontend for a bunch of data that is being collected in Python and streamed to the frontend. Something that's been causing me a lot of trouble ...
3
votes
1
answer
311
views
WebStorm Debugger Not Working with Next.js (Breakpoints Not Being Hit)
I’ve been trying to set up the debugger for my Next.js project in WebStorm, but it’s not working as expected. I’ve read the Next.js and WebStorm documentation multiple times but couldn’t get it to ...
0
votes
0
answers
33
views
Cannot use Vue DevTool despite multiple configuring attempts
I'm developing a mini board game with Vue.js frontend and Django backend. Currently, I use Django to serve the static files under a /static directory, and I configured vite.config.js to output the ...
0
votes
0
answers
38
views
JS "Unbound breakpoint" when trying to debug files using swaggerAPI
I am encountering an issue with debugging JavaScript and TypeScript files in a project utilizing an Express server and Swagger API (Swagger).
The problem arises when attempting to set breakpoints in ...
0
votes
1
answer
64
views
How to see HTTP requests made by content script file, Firefox Addon Extension
I started developing a firefox extension.
In my extension I make requests with fetch.
But the requests don't appear in the Network tab of developer tools.
I am opening the developing from within the ...