-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Joshua Cook edited this page Aug 26, 2016
·
3 revisions
Welcome to the tcsl wiki!
Use this make
command to create the numpy pickle objects using the built-in data wrangler:
$ make wrangle_data
Use this make
command to create run the comparison app:
$ make all_classifiers
Debugging in docker can be a bit tricky. To make it easier, we will use ipdb
, the interactive ipython debugger.
To debug, execute the following make
task:
$ COMMAND=#COMMNAND_TO_DEBUG# make debug
The syntax is a bit tricky. Basically, the command you wish to debug gets passed as an environment variable so must be set first.
To debug the app, run
$ COMMAND='python -m app' make debug
The next step is to add the debugger. Simply insert this line of code above the statement you wish to debug.
import ipdb; ipdb.set_trace()
More on ipdb here