简体   繁体   中英

How can i know which script file is loading on Click event

i have many javascript files with same name but How can i know which script file is loading on Click event. is there any debugging tool which directly opens the script file and points to the certain function.

please mention how to debug in IE as well.

Use chrome inspector. Find Event Listener Breakpoints under Sources tab. Check the action name click . Now inspector will automatically capture your click events and open up the source file with a break-point which helps you an easy debug. (I don't think IE has such a feature)

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM