Skip to content

Commit 98b6594

Browse files
authored
chore: add section in FAQ for access token error+workaround
1 parent c73061d commit 98b6594

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,31 @@ and many more ...
196196
- **The latest version seems to be not installable on my vscode. What is the minimum compatible vscode version for the toolkit?**
197197
- ASK Toolkit (`v2.5.0` and above) works with <a href=" https://code.visualstudio.com/">Visual Studio Code IDE</a> (version 1.53.0 or higher), please make sure you have the latest version installed.
198198
199+
- **Why am I getting the error '[token] is not recognized as an internal or external command, operable program or batch file' when trying to start the local debugger?**
200+
- For Windows users, this is sometimes caused by an incompatibility between the Debug Terminal and the way VSCode parses the launch.json configurations. A simple workaround for this is to add `"console": "integratedTerminal"` to the debug configuration in your `launch.json` file, like the following:
201+
```
202+
"version": "0.2.0",
203+
"configurations": [
204+
{
205+
"name": "Debug Alexa Skill (Node.js)",
206+
"type": "node",
207+
"request": "launch",
208+
"program": "${command:ask.debugAdapterPath}",
209+
"args": [
210+
"--accessToken",
211+
"${command:ask.accessToken}",
212+
"--skillId",
213+
"${command:ask.skillIdFromWorkspace}",
214+
"--handlerName",
215+
"handler",
216+
"--skillEntryFile",
217+
"${workspaceFolder}/lambda/index.js",
218+
"--region",
219+
"FE"
220+
],
221+
"console": "integratedTerminal" //Add this
222+
},
223+
```
199224
200225
----
201226

0 commit comments

Comments
 (0)