Skip to content

Anyway way to print debug output from your external scanner? #1218

Closed Answered by ahlinc
ahelwer asked this question in Q&A
Discussion options

You must be logged in to vote

@ahelwer If you want to depend on the -d flag for the tree-sitter parse command then #1186 is what you're looking for. And also I'm waiting for #1187 to make it even more agile and make it possible to compile printing logic in external scanners only if those are used by tree-sitter CLI commands.

/cc: @maxbrunsfeld

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@dcreager
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@ahlinc
Comment options

@mikehaertl
Comment options

@danielo515
Comment options

@leotrs
Comment options

@ahlinc
Comment options

Answer selected by ahelwer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants