werkzeug-debug-console-bypass icon indicating copy to clipboard operation
werkzeug-debug-console-bypass copied to clipboard

How disable that pin code?

Open SteveBraich opened this issue 1 year ago • 3 comments

How disable that pin code?

SteveBraich avatar May 15 '23 20:05 SteveBraich

How disable that pin code?

Setting WERKZEUG_DEBUG_PIN=off as an environment variable should do the trick.

https://werkzeug.palletsprojects.com/en/2.3.x/debug/

wdahlenburg avatar May 15 '23 21:05 wdahlenburg

OK, and then how do you enter said pin?

SteveBraich avatar May 16 '23 04:05 SteveBraich

Werkzeug exposes the console endpoint, so if you are running the docker container it'll be: http://127.0.0.1:7777/console

wdahlenburg avatar May 17 '23 18:05 wdahlenburg