arundhaj

all that is technology

Using PyCharm Debugger with Chalice for Local Debugging in Windows

 

In this video, I'll show how to use PyCharm Debugger to debug Chalice application in Windows.

Chalice is a framework develop Serverless application in Python, so that you can quickly create and deploy applications that use various AWS services like: Lambda, API Gateway etc.

$ mkdir chalice-debug && cd chalice-debug
$ python -m venv venv
$ venv\Scripts\activate.bat
(venv) $ pip install chalice
(venv) $ chalice new-project chalice-debug
(venv) $ cd chalice-debug
(venv) $ chalice local --no-autoreload

In Pycharm IDE, Run -> Attach To Process and select the chalice process to attach and start debugging

Hope this helps!

Comments