How do I write to the console in Google App Engine?

前端 未结 11 1639
终归单人心
终归单人心 2020-12-08 09:30

Often when I am coding I just like to print little things (mostly the current value of variables) out to console. I don\'t see anything like this for Google App Engine, alth

11条回答
  •  -上瘾入骨i
    2020-12-08 10:00

    Hello I'm using the version 1.8.6 of GoogleAppEngineLauncher, you can use a flag to set the messages log level you want to see, for example for debug messages:

    --dev_appserver_log_level debug

    Use it instead of --debug (see @Christopher answer).

提交回复
热议问题