Output directive - zero-plusplus/vscode-autohotkey-debug GitHub Wiki
See Debug directive for notes.
Similar to the Breakpoint directive, but limited to Log point. Instead, a grouping feature has been added.
Syntax
This directive has the following syntax.
; @Debug-Output:GROUPING(CONDITION)[HITCONDITION] => MESSAGE
GROUPPING
- Group the log. Be sure to ungroup withend
as this will affect all subsequent outputsstart
- Starting a new groupstartCollapsed
- Same asstart
, but the created groups will be collapsedend
- Ending the group
CONDITION
- See Conditional breakpointHITCONDITION
- See Hit conditional breakpoint=>
- Output operator->
- Outputs theMESSAGE
as it is=>
- A line feed code is placed at the end of theMESSAGE
->|
or=>|
- The same as for each operator, but it suppresses the automatic removal of leading whitespace
MESSAGE
- See Log point's Embedding value
The following is an example of a valid directive.
; @Debug-Output:start => {person.name}
; @Debug-Output => name: {person.name}
; @Debug-Output => age: {person.age}
; @Debug-Output:end