added debugger

This commit is contained in:
Nick Walton
2019-04-07 18:08:20 -06:00
parent 0b48cc5a39
commit 2b5073d536
3 changed files with 8 additions and 3 deletions
+1 -3
View File
@@ -1,9 +1,7 @@
runtime: python
runtime_config:
python_version: 3
instance_class: B8
entrypoint: gunicorn -t 120 --log-level debug -b :$PORT main:app
entrypoint: gunicorn -t 240 --log-level debug --debug -b :$PORT main:app
threadsafe: true
env: flex
+6
View File
@@ -19,6 +19,12 @@ import tensorflow as tf
from flask import g
import pdb
try:
import googleclouddebugger
googleclouddebugger.enable()
except ImportError:
pass
import json
from flask import Flask, render_template, request
+1
View File
@@ -3,3 +3,4 @@ numpy
tensorflow
flask
gunicorn
google-python-cloud-debugger