debug actions after "aio app deploy" | Community
Skip to main content
Urs_Boller
Community Advisor
Community Advisor
September 1, 2020
Solved

debug actions after "aio app deploy"

  • September 1, 2020
  • 1 reply
  • 1629 views

I gave an issue somewhere in my action after "aio app deploy". the action is working fine on local "aio app run", but not in deploy.

 

any chance I can see the debug of the action somewhere when app is deployed?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by duynguyen_adobe

Hi @urs_boller, actions are essentially invoked in the same manner after you do `aio app run` and `aio app deploy`. Only difference is that if you change something in the code and save while in run mode, it automatically re-deploys the action.

Coming to your question about debugging, the logs should be the same whether you run or deploy the action. Some useful commands for debugging:

  • `aio app logs`: show the logs of the most recently invoked action
  • `aio runtime activation list`: list 20 latest invocations
  • `aio runtime activation get ID`: get detailed info about the invocation. ID is obtained from the list above
  • `aio runtime activation logs ID`: get the logs of an invocation

1 reply

duynguyen_adobeAdobe EmployeeAccepted solution
Adobe Employee
September 2, 2020

Hi @urs_boller, actions are essentially invoked in the same manner after you do `aio app run` and `aio app deploy`. Only difference is that if you change something in the code and save while in run mode, it automatically re-deploys the action.

Coming to your question about debugging, the logs should be the same whether you run or deploy the action. Some useful commands for debugging:

  • `aio app logs`: show the logs of the most recently invoked action
  • `aio runtime activation list`: list 20 latest invocations
  • `aio runtime activation get ID`: get detailed info about the invocation. ID is obtained from the list above
  • `aio runtime activation logs ID`: get the logs of an invocation
Urs_Boller
Community Advisor
Community Advisor
September 2, 2020
thanks a lot - will try those commands...