Why does Angular open the debugger on localhost after a refresh today?

Every time I refresh my angular app today, the debugger (PAUSED ON DEBUGGER) keeps opening. Why is this happening?

The debugger is highlighting these lines of code (which are not mine - from core.js):

/**
 * Instantiate all the directives that were previously resolved on the current node.
 */
function instantiateAllDirectives(tView, lView, tNode, native) {
    const start = tNode.directiveStart;
    const end = tNode.directiveEnd;
    if (!tView.firstCreatePass) {    // THIS IS WHERE THE DEBUGGER POPS UP
        getOrCreateNodeInjectorForNode(tNode, lView);
    }
    attachPatchData(native, lView);
    const initialInputs = tNode.initialInputs;
    for (let i = start; i < end; i++) {
        const def = tView.data[i];
        const isComponent = isComponentDef(def);
        if (isComponent) {
            ngDevMode && assertNodeOfPossibleTypes(tNode, [3 /* Element */]);
            addComponentLogic(lView, tNode, def);
        }
        const directive = getNodeInjectable(lView, tView, i, tNode);
        attachPatchData(directive, lView);
        if (initialInputs !== null) {
            setInputsFromAttrs(lView, i - start, directive, def, tNode, initialInputs);
        }
        if (isComponent) {
            const componentView = getComponentLViewByIndex(tNode.index, lView);
            componentView[CONTEXT] = directive;
        }
    }
}

How can I resolve this issue? It was working perfectly fine yesterday.

Answer №1

If the code is not added by you, it may have been injected using developer tools. Check the following places where it could potentially be added.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Having trouble getting MongoDB to connect correctly to my server (using node.js and express), any help would be greatly appreciated

Whenever I make an API request using Hoppscotch, I encounter a terminal error along with status code 500 on Hoppscotch. Despite my efforts to fix the issue, it persists. Below is the code snippet that I am currently working with: var mongodb = require(&apo ...

What could be the underlying reason for the unusual behavior observed in this range polyfill implementation?

I am attempting to transform an HTML5 range input into a set of radio buttons. Each radio button corresponds to a value within the original range, with text displaying its value. However, I am encountering an issue where the last piece of text, meant to sh ...

Prevent Chrome from automatically restoring the previous browsing session

Is there a way to prevent Chrome from restoring the session when reopening a closed page? Possibly using a special header? My company app relies heavily on user state, and I need to log employees out and delete all relevant data if they are inactive for 6 ...

Mongoose - issue with asynchronous call causing promises not to resolve

Currently, I have designed a route for my social media application that is responsible for fetching the posts of all the users that you are following. However, despite using await and .exec(), the result I receive is a pending promise. This is the code sn ...

Implementing a global provider in Ionic 3

I have integrated a provider in my app that needs to stay active at all times while the application is running to monitor the network connection status. Following this guide, I included the class in my app.module.ts file to ensure it functions as a global ...

Retrieve the HTML table body using Jquery

I was experimenting with two ways to access the HTML table body. Interestingly, method b) works while method a) does not. Can anyone explain why? a) var requestTableBody = $('#requestTable > tbody'); for (i = 0; i < x.length; i++) { ...

How can I find out the direction in which my mesh is facing using three.js?

I am currently working on a project to develop a simple game that involves shooting projectiles out of a gun barrel. At the moment, I have a basic setup where a cube and a cylinder are combined as the barrel. When I rotate the group containing these elemen ...

Exploring the contrast between string enums and string literal types in TypeScript

If I want to restrict the content of myKey in an object like { myKey: '' } to only include either foo, bar, or baz, there are two possible approaches. // Using a String Literal Type type MyKeyType = 'foo' | 'bar' | &ap ...

MEAN Stack Development: Why does the timestamp stored by Node.js appear different from the time on my laptop in Dev Mode?

Can someone assist me with properly displaying the correct datetime stamp? For example, the time on my laptop is: 02-Oct-2021 11:14am (this is in India) The time stored by Node and displayed in Angular is 2021-10-02T05:44:09.022Z, which is 06:30 behind m ...

Having trouble with passing data using @Input in Angular 5

My goal is to pass a value from app.component.ts named user and assign it to the property of the userComponent called user. Below are the code snippets: app.component.ts import { Component } from '@angular/core'; @Component({ selector: &apo ...

Using JavaScript/JQuery to Access an External SQLite Database

Is there a way to incorporate my own SQLite database into a website using JavaScript and JQuery? I've searched for examples but have yet to find any helpful articles on the topic! ...

The Instagram API seems to be experiencing some technical difficulties

My expertise lies primarily in HTML/CSS, with limited knowledge of using APIs and JavaScript. I have been assigned the task of utilizing an API to retrieve Instagram pictures posted by users with a specific hashtag. Here is the demo shared via JSFiddle: ...

Select a specific type of child

One of my preferences: type selectedType = { name: string, category: string, details: { color: string, material: string, size: string, }, } How do I select details.material only? Here is what I expect as output: type selectedTypePic ...

Implementing a persistent "remember me" feature in Angular 2 without relying on local

Is it possible to implement a "remember me" feature in Angular 2 without relying on the use of local storage? ...

Sending information from Ajax to PHP

Could anyone please explain the script provided above to me? I am attempting to pass the value of $user data so that I can utilize $_REQUEST['user'] within sort.php, but I am encountering difficulties. It seems to be passing in a long URL. $(fun ...

Loading items into multiple containers using PHP AJAX pagination

I'm looking to implement a "load more" button on my website, but I'm facing a challenge due to my three-column layout. I want to load more items into their respective parent elements without disrupting the design. While I've used infinite aj ...

The `this` keyword is incapable of accessing the object. It is instead pointing to the `window` object

Here is a sample of Javascript constructor code: function TestEngine() { this.id='Foo'; } TestEngine.prototype.fooBar = function() { this.id='bar'; return true; } TestEngine.prototype.start = function() { this.fooBar( ...

The shadows in HTML5 Three.js r81 experience a loss of alpha maps when the camera is rotated

While working on my project using Three.JS r81, I encountered a problem with shadows passing through transparent materials when using a custom depth shader. Initially, the shadows appeared fine when there was only a tree in the scene. However, as soon as I ...

Error occurs when ng-include is used within a ui-view

When implementing Angular.js in my application, I encountered an error when using ng-include within ui-view. The error message reads: Error: e is null .after/<@http://localhost/vb-asli/js/angular.min.js:152:228 r@http://localhost/vb-asli/js/angular.min ...

What is the best way to connect the "areaName" with the <TextBox> attributes value="" and onChange=""?

After calling an API and mapping the array, I have successfully bound the data on <TableCell> {this.state.allArea.map((allArea, i) => ( <TableRow > <TableCell >{allArea.areaName}</TableCe ...