Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug(exp) builtin #2112

Closed

Conversation

andremarianiello
Copy link

Closes #2111

Haven't contributed before. Don't even know if you actually want this, but I thought making an MR for it couldn't hurt. Let me know if I should change something or you don't want this new builtin at all.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.124% when pulling 60bd0ae on andremarianiello:add-debug-exp into ccc79e5 on stedolan:master.

@itchyny itchyny mentioned this pull request Jul 12, 2023
pkoppstein added a commit to pkoppstein/jq that referenced this pull request Jul 13, 2023
This def ensures the output of debug(m1,m2) is kept together.

See jqlang#2709 jqlang#2111 jqlang#2112
@pkoppstein pkoppstein mentioned this pull request Jul 13, 2023
pkoppstein added a commit to pkoppstein/jq that referenced this pull request Jul 13, 2023
This def ensures the output of debug(m1,m2) is kept together.

See jqlang#2709 jqlang#2111 jqlang#2112

Update jq.1.prebuilt

manual.yml: debug/1: more typos

manual.yml: debug/1: typo

msgs
pkoppstein added a commit to pkoppstein/jq that referenced this pull request Jul 13, 2023
This def ensures the output of debug(m1,m2) is kept together.

See jqlang#2709 jqlang#2111 jqlang#2112

Update jq.1.prebuilt

manual.yml: debug/1: more typos

manual.yml: debug/1: typo

msgs

builtin.jq: spacing
pkoppstein added a commit to pkoppstein/jq that referenced this pull request Jul 13, 2023
This def ensures the output of debug(m1,m2) is kept together.

See jqlang#2709 jqlang#2111 jqlang#2112

Update jq.1.prebuilt

manual.yml: debug/1: more typos

manual.yml: debug/1: typo

msgs

builtin.jq: spacing

manual.yml: more tweaking
emanuele6 pushed a commit that referenced this pull request Jul 13, 2023
* debug/1

This def ensures the output of debug(m1,m2) is kept together.

Closes #2709 #2111 #2112
@emanuele6
Copy link
Member

Closed by #2710

@emanuele6 emanuele6 closed this Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Add 1-arity built-in function debug(f) for more control over debug output
4 participants