How to View js Invocation of an Action in a Web Page

  node.js, question

I want to be a website’s automatic login function, but the password was encrypted by the js of the webpage and then passed out.
Therefore, I want to know how js on the webpage processes the password after clicking the login button.
Do you have any tools or methods?

Under the Sources option of Chrome browser console, the JS file interruption point can be given to view the execution process of the JS file.