问题
In Devtools -> Application -> Cookies, you can create and modify cookies. However, I can't set secure, httponly, or samesite. How can I update a cookie to secure through the UI? I'm using Chrome 79 on Win10.
回答1:
You cannot currently do this. I have raised a feature request to enable it.
Update: This has been added to DevTools and is available as of Chrome 81.
来源:https://stackoverflow.com/questions/59439648/set-cookies-as-secure-in-chrome-devtools