With it, you can easily step through an Alexa skill, using the REAL interactions coming from Alexa. A quick illustration on how our proxy works:
More information on how we deliver Alexa requests straight to your door, er, laptop here. 🙂
To step through an Alexa skill, first install bespoken-tools package as part of your project:
npm install bespoken-tools --save-dev
Next, add a launch configuration – access configurations via
Debug -> Open Configurations. Create a configuration that looks like this:
|"name": "Launch Proxy",|
|"args": ["lambda", "src/index.js"],|
Make sure to put the relative path to your index.js in the args section.
Now, we can try running it – select
Debug -> Start Debugging. If everything is working correctly, you will see output like this:
Here we are adding a breakpoint and testing it with the service simulator:
And if VS Code is not your cup of tea, we also have a tutorial for WebStorm.