Skip to content

[help] Create a script service for debugging scripts #4

@zerox1212

Description

@zerox1212

I'm looking for insights to make debugging DF scripts easier and avoiding putting DF into debug mode. I also don't want to SSH into the server to see what shows up in dreamfactory.log.

I have two ideas:

  1. Make a script service which simply attempts to output any data passed to it. That way any script being worked on could call platform.api.post('debug', object) and the data would show up in a file in the local file storage.
  2. Write script output to a log file which is hosted on local file service, thus avoiding SSH to the server.

I would really like to try idea 1.

Any ideas if this is possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions