Credentials can be seen in js file Dev Tool

Although we use https, before we send the information to the backend, we can debug our web application in chrome and can see all the information(api url, username, password, http request parameters). Is there a way to handle this in secure way?