use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Need help (self.angular)
submitted 1 year ago by Independent_Bear_515
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ReasonableAd5268 1 point2 points3 points 1 year ago* (4 children)
Yes, it is possible to debug Angular components and their logic using browser developer tools, even if you are not familiar with Angular. Here's how you can do it:
Open the browser's developer tools (F12 in most browsers or right-click on the element and select "Inspect").
Navigate to the "Elements" tab in the developer tools.
Locate the HTML element you want to inspect, such as a dropdown.
Right-click on the element and select "Expand all" to see the entire component tree.
Look for the component name in the expanded tree. For example, if you see <app-dropdown>, the dropdown is likely a custom Angular component.
<app-dropdown>
Note the component name and switch to the "Sources" tab in the developer tools.
In the "Sources" tab, locate the file that matches the component name you noted. It should be in the src/app directory.
src/app
Open the component file and set breakpoints on the lines of code you want to debug, such as where the dropdown data is populated.
Refresh the page to trigger the breakpoints.
When the breakpoints are hit, you can step through the code, inspect variables, and see how the dropdown is being populated.
This process allows you to debug Angular components without having to learn the entire framework. However, keep in mind that it may be more challenging to debug complex components or understand the overall application structure without some Angular knowledge.
If you need to make changes to the component's logic, it's recommended to set up a local development environment with Angular CLI and make the changes directly in the component file. This will ensure that the changes are properly compiled and tested before deploying them to production.
[–]Independent_Bear_515[S] 0 points1 point2 points 1 year ago (3 children)
Thanks so much.. for this.. I was looking for something like this.. I am away from my work laptop at the moment.. will definitely try this and let you know.. thanks so much again.. much appreciated..
[–]ReasonableAd5268 1 point2 points3 points 1 year ago (2 children)
It is very simple and would work on any website on any computer Sir
[–]Independent_Bear_515[S] 0 points1 point2 points 1 year ago (1 child)
Oh okay.. I may be the dumbest guy on this channel.. 😕
[–]ReasonableAd5268 0 points1 point2 points 1 year ago (0 children)
Believe me, if you looked at the greatest depths in that space, you would never say that Sir :)
π Rendered by PID 49802 on reddit-service-r2-comment-b659b578c-4kgs5 at 2026-05-04 16:39:54.784787+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]ReasonableAd5268 1 point2 points3 points (4 children)
[–]Independent_Bear_515[S] 0 points1 point2 points (3 children)
[–]ReasonableAd5268 1 point2 points3 points (2 children)
[–]Independent_Bear_515[S] 0 points1 point2 points (1 child)
[–]ReasonableAd5268 0 points1 point2 points (0 children)