Skip to content

Instantly share code, notes, and snippets.

@lepinekong
Last active December 26, 2017 11:39
Show Gist options
  • Save lepinekong/eafd436f56e9728df037678b8fd25444 to your computer and use it in GitHub Desktop.
Save lepinekong/eafd436f56e9728df037678b8fd25444 to your computer and use it in GitHub Desktop.
Red debugger
debug: func[var][
varName: to-string var
varValue: get var
print rejoin [varName ": " varValue]
]
to-debug: func[ /local test][
test: 20
debug 'test
]
test: 10
debug 'test ; -> test: 10
to-debug ; -> test: 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment