Commands
glue dev
Run a Glue locally for development and testing before deploying. This is the fastest way to iterate, the dev command sets up your Glue locally and tunnels events to your local machine. To make testing your Glues fast:
- console logs will get printed to your terminal
- your code is hot reloaded as you make changes, the next event that gets triggered will run your updated code
- you can replay past events to your production glue to test your new code against real data using the
--replayflag - you can replay the last event you received to test your new code against real data by pressing
rin the dev terminal. - you can generate sample events for triggers that support it by pressing
sin the dev terminal. - you can attach a debugger to your local Glue process. See debugger options: Debugging