Skip to content

Consider implementing a feature to output an object as a string #231

@zero-plusplus

Description

@zero-plusplus

Currently when an object is output, it is collapsed as in the VARIABLES view.

The contents must be manually unfolded to view them, and once the debugger exits, the collapsed contents are no longer available for viewing.

Because of this specification, there were many cases where the contents could not be grasped even if the log was output during debugging.

To solve this issue, I am considering implementing a feature to output the contents of an object as a string.

At first, I was considering using json format, but yaml, which supports multi-line strings, may be easier to read.

For output in yaml format, I am considering the following method of enclosing variables in %.

; @Debug-Output => {%Variable%} {{%MetaVariable%}}

Alternatively, I am considering how to switch the output method of the object in the settings.

Please let me know if you have any other ideas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    draftDraft of new features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions