K
K
Konstantin2021-01-20 01:36:09
JavaScript
Konstantin, 2021-01-20 01:36:09

How to properly debug js code?

Can you please tell me how to debug a click on an element, which entails calling many functions? How to put a debugger on a click, hover or mouse click element in chrome?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WbICHA, 2021-01-20
@Junart1

The two simplest ones:
1. Through debugger; https://developer.mozilla.org/ru/docs/Web/JavaScri...
2. Through the debugger tab in devtools, on the right, the conditions under which the debug will be activated.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question