You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[X] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:
I don't seem able to make local debugging work in non-standard environments. I should note that Volley's stack includes a combination of the Jovo framework for building, and a completely custom engine involving Typescript+Express at runtime.
This means that the location of the alexa metadata, including ask-resources.json is in /platforms/alexaSkill, and the entry-point is in src/index.ts.
It would be cool if I could execute ask run with a custom path to the folder containing ask-resources.json, and also a way to either invoke ts-node against a custom index.ts, or point directly to that source file and have ask determine to run the typescript toolchain.
Alternately I could also point it at the dist/ folder where the compiled javascript resides.
Expected Behavior
I should be able to do something like
ask run --debug --root=platforms/alexaSkill --index=src/index.ts
...or something like ask run --debug --no-code && ts-node src/index.ts
Current Behavior
Certain parts of ask seem to be tightly coupled to the "standard" project layout, which locks custom tech out of local debugging. (I should note that we have been able to work around these problems over on the vscode/extension side)
Your Environment and Context
ask-cli version: 2.22.4
Operating System and version: Mac OS Big Sur
Node.js version used for development: 12.16.1
NPM version used for development: 6.13.4
The text was updated successfully, but these errors were encountered:
asarazan
changed the title
Local Debugging: Custom source location (and/or ts-node support)
Local Debugging: Custom root directory, custom entry-point, typescript support
Feb 5, 2021
Thank you for the feature request! We will look into adding this feature to the cli. We currently have some other tasks with higher priority, but this would be nice to have added to the run command if we can support it.
I'm submitting a...
I don't seem able to make local debugging work in non-standard environments. I should note that Volley's stack includes a combination of the Jovo framework for building, and a completely custom engine involving Typescript+Express at runtime.
This means that the location of the alexa metadata, including
ask-resources.json
is in/platforms/alexaSkill
, and the entry-point is insrc/index.ts
.It would be cool if I could execute
ask run
with a custom path to the folder containingask-resources.json
, and also a way to either invoke ts-node against a custom index.ts, or point directly to that source file and have ask determine to run the typescript toolchain.Alternately I could also point it at the
dist/
folder where the compiled javascript resides.Expected Behavior
I should be able to do something like
ask run --debug --root=platforms/alexaSkill --index=src/index.ts
ask run --debug --no-code && ts-node src/index.ts
Current Behavior
Certain parts of ask seem to be tightly coupled to the "standard" project layout, which locks custom tech out of local debugging. (I should note that we have been able to work around these problems over on the vscode/extension side)
Your Environment and Context
The text was updated successfully, but these errors were encountered: