Тёмный

Running and Debugging Alexa Skills Locally 

The Talking Application
Подписаться 260
Просмотров 2,1 тыс.
50% 1

Making changes to an Alexa skill's fulfillment code, deploying it, and only then trying it out before making more changes and beginning the cycle all over again is an incredibly inefficient development workflow.
The bottleneck in this flow is the deployment step. Deployment isn't horribly time-consuming, but it's still enough to create friction in the development workflow. If you could eliminate the deployment step, then the time between making a change and seeing it (or hearing it, in the case of an Alexa skill) will reduced and you can more rapidly make progress toward the goals for your Alexa skill.
In this video, I show how to run your skill's fulfillment code on your local development machine, enabling you to make small, incremental changes and try them out without deploying the skill. Moreover, I show how to run the skill in debug mode so that you can set breakpoints in your code to step through and inspect the inner workings of your skill to chase out unexpected behavior.
If you enjoy this video, then please share and leave a comment letting me know what you think. And if you're eager to learn more about developing voice experiences for Alexa, then check out my book, Build Talking Apps for Alexa: pragprog.com/t....

Наука

Опубликовано:

 

3 янв 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@rickhedin859
@rickhedin859 Год назад
I'm thoroughly enjoying your Alexa book, and now this Alexa video. I worked really hard to find good Alexa learning materials. I went through a Udemy course, for example. But your book did not pop to the front on Amazon. After a couple of weeks, I found it in some fashion. Soon, I will go back and write you a glowing review. But is there anything else you can do, thorough Amazon, to make your book show up more prominently? Add some keywords, or something? Anyway, thanks! I really appreciate it.
@mohammednawfal2603
@mohammednawfal2603 Год назад
Thanks for this video, I've having been having a problem getting the Alexa extension or even ask-cli to work with the local debugger although i did exactly the same as in the video, but the debugger breakpoints doesn't get triggered by the invocation, simply debugger switched on but not affected by the calls/invocations I make, I tried to find a solution to this issue but with no luck, any idea why this might cause it
@samyak039
@samyak039 Год назад
having the same issue, were you able to find any solution ?
@mohammednawfal2603
@mohammednawfal2603 Год назад
@@samyak039 I think found the issue, after hiting to run debug, we need to hit continue for two/three times to get the point which shows the session time and region in the debugger council, once you get that, then you can start send Alexa some invocation from the local simulator
@samyak039
@samyak039 Год назад
@@mohammednawfal2603 Hi, I am able to run the code (it shows the regin) but the thing is I am unable to debug, like the breakpoints don't work. and my changes are not reflecting, they are reflected only after I push the code to lamba
@seventinnine7826
@seventinnine7826 Год назад
@@samyak039 Same issue here.
@seventinnine7826
@seventinnine7826 Год назад
@@samyak039 Ok I found a solution that worked for me. I initially created my skill with region "EU (Ireland)" and therefore I changed the region from "NA" to "EU" in the launch.json. But when I execute "ask run --watch" (which works for me), then it says "Region chosen: NA". So I changed it to "NA" in the launch.json and now it works.
Далее
Burger Battle Helper
1:49
Просмотров 328
Developing Alexa Skills in Java
24:00
Просмотров 1 тыс.
I forced EVERYONE to use Linux
22:59
Просмотров 368 тыс.
VOICE Summit: Alexa Visual Studio Code Plugin
33:03
Просмотров 6 тыс.
Using docker in unusual ways
12:58
Просмотров 438 тыс.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Three Ways to Start an Alexa Skill Project
32:57
Targeting Android 15 - Why Your App Is NOT Ready
8:41
Why Starbucks Is Struggling
12:06
Просмотров 1,1 млн
Маленькая батарея в самсунг
0:31