View options passed to JavaScript functions in Chrome

I use Timeline in Chrome Developer Tools to help write custom text. The timeline shows which functions are called, but not the values ​​that are actually passed to the parameters:

enter image description here

Is there a way to view the actual function that was running, including its values? I am looking for any solution that will help me do this, even outside of Chrome.

+4
source share
1 answer

Sources DevTools, Snippets , New, , arguments , , Add to Watch. Watch Expressions , , fn("abc", "def"), : Arguments[n], arguments, , n - arguments ; , Arguments[2] fn("abc", "def")

0

Source: https://habr.com/ru/post/1626543/


All Articles