Debugging
You can test and debug your handler implementation and image by running your API container locally.
The cortex prepare-debug
command will generate a debugging configuration file named <api_name>.debug.json
based on your api spec, and it will print out a corresponding docker run
command that can be used to run the container locally.
For example:
Make a request to the api container:
Last updated