ToolJet / ToolJet/ToolJet

Need to support console.log statement to debug when previewing a query

Open
#4,215 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

appbuilder exploring feature request
Dominant language
JavaScript
Stars
40.9k
Forks
5.4k
Avg merge
2d 18h
Merged PRs (30d)
202

Description

Is your proposal related to a problem?

when i want to debug a query or check the flow of execution of a js function i have to use return to check the value but i couldnt log the values and because of that i am spending a lot of time in writing js function and debugging when something went wrong

Describe the solution you'd like

the js function editor should support console.log and preview them in output tab
should support multiple console.log statement

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the JavaScript function editor and the preview output tab, which are the entry points named by the issue. Determine how returned values are currently displayed, then verify that multiple console.log statements appear in the output without replacing the function result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.