Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Debug for the action object #51

Closed
kptdobe opened this issue Sep 19, 2018 · 1 comment
Closed

Debug for the action object #51

kptdobe opened this issue Sep 19, 2018 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@kptdobe
Copy link
Contributor

kptdobe commented Sep 19, 2018

With #19, we introduce a console log of the payload. It is still hard to know what is in the action object. This one contains:

  • logger: which is useless to output
  • secrets: which in theory should not be output. In dev mode (Petridish), knowing what's in the secrets is still required and useful but could be achieved with the debugger in the pre.js file.
  • request: needed when doing more advanced stuff

In general, interacting with the action object is needed for advanced operations, thus I think using the debugger would be enough. Especially now we could debug the pre.js directly.

@kptdobe kptdobe added enhancement New feature or request question Further information is requested labels Sep 19, 2018
@trieloff
Copy link
Contributor

In addition, the action object is pretty static so that the documentation in #62 should suffice.

Closing this for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants