-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACNA-894 - Action running in local cannot be debugged #128
Comments
Thanks for the complete summary, @kptdobe ! |
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-894 |
When However, in Fix: for any new keys to be set, normalize the key names and remove any existing env values that match the normalized key name. |
PR #129 |
Expected Behaviour
Create an app, run the app with "--local", add a breakpoint in run the action and run the debugger. When action is executed, the debugger pause the execution.
Actual Behaviour
The debugger does not start.
Steps to Reproduce
On a fresh new app, run
aio app run --local
.Open VC Code and hit the
Run Action:<app>-0.0.1/<action>
button from the debugger.The debugger starts but crashes immediately:
Environment Info
Workaround
I found the issue: the .env file contains the
runtime_auth
andruntime_namespace
twice (almost lower case and uppercase) and the debugger use the lowercase one while it should use the uppercase one.In fact, the "local override" does not work anymore because of the letters case.
Workaround is to stop the server, edit the
.env
and uppercase the 2 variables:AIO_RUNTIME_AUTH
andAIO_RUNTIME_NAMESPACE
.cc @meryllblanchet
The text was updated successfully, but these errors were encountered: