Voiceflow PartnersVPVoiceflow Partners
Powered by
brilliant-limeB
Voiceflow Partners•2y ago
brilliant-lime

Debugging js block/console/logs...I missing? missing? pls help!

Hey folks...I've been a developer for a long time. I want to do the bulk of the stuff in code I hate no code spaghetti mazes. But the problem is how do I debug a Javascript block?! Or console.info stuff I may want to see like an api response?

Note this is not for a function, but the lighter weight js block.

Just to test I made a dirt simple flow. Start->js block. The js only says: console.log(' test'); I press the big blue run button. I absolutely do not see test anywhere in the output of that run. I also do not see ***test in the webtools console.

Also, when I tried to run a js block with some real code I got a syntax error. There was no line, no stack trace, nothing but the error message. And to make matters worse the error was an image not even text that I could then copy and paste into an ai or search.


Even a catch try block failed because obviously I couldn't console log anything.


Botpress for all its faults has very good logging support for everything going on under the hood.

There has to be a better way. I can't imagine a platform as good as this drops the ball so hard on something so basic as console logging. What am I missing?!?!
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

JS BLOCK
CaioEliasCCaioElias / ❓┃ask-a-question
9mo ago
Javascript block help
sacred-roseSsacred-rose / ❓┃ask-a-question
2y ago
Newline in "dynamic carousel" JS-block?
urgent-maroonUurgent-maroon / ❓┃ask-a-question
3y ago
Block
matcastroMmatcastro / ❓┃ask-a-question
7mo ago