Description
OS: Windows_NT x64 10.0.19043
Visual Studio Code Version: 1.64.2
Alexa Skills Toolkit Version: 2.10.1
Git Version: git version 2.34.1.windows.1
Python version 3.8.7
I am trying to follow a workflow where I can debug locally; changing my Python code locally, testing with the simulator, repeating the process as required and only then deploy.
I am using the 'Alexa hosted' option and hence, as instructed deploy using git.
I created a new project using the 'cli new' command, I am using the default 'Hello World' template. It works well using the 'cli dialog' simulator on the code in the cloud of course.
The older approach localhost / ngrok / local_debugger.py (from the cookbook) works well for debugging locally but it is more cumbersome; running ngrok and changing the end point parameters in the console, hence trying the toolkit.
I installed the toolkit in VSCode as per instructions including setting the launcher.
I installed ask-sdk-local-debug in the Python virtual folder.
When I start the debugger it is indicated correctly on the status bar.
When I test using the toolkit simulator, regardless of whether I started the debugger or not the skill runs the code in the cloud that I deployed before not local code.
There is no indication that the debugger runs on the terminal or the debug console.
Note that I don't even debug as such; I just modified a message in the lambda_function.py file so that I can distinguish between the local and cloud versions of the code when running the simulator.
What am I doing wrong?
Thanks
Isaac
Activity