how to view log in code node in workflow #8324

Closed
opened 2026-02-21 18:25:05 -05:00 by yindo · 3 comments
Owner

Originally created by @badspider7 on GitHub (Feb 17, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I am using code node to request an API,and i want to see console in code running,but i can not found any place to see that, so i am confused.
I dont know if some way can get this, although in docker can find sandbox-1, no more detail.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @badspider7 on GitHub (Feb 17, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. I am using code node to request an API,and i want to see console in code running,but i can not found any place to see that, so i am confused. I dont know if some way can get this, although in docker can find sandbox-1, no more detail. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 🙋‍♂️ question🌊 feat:workflow labels 2026-02-21 18:25:05 -05:00
yindo closed this issue 2026-02-21 18:25:05 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 17, 2025):

Hey @badspider7! 👋 I'm here to help you with bugs, questions, and contributing. Let's tackle this challenge together!

To view the console output for code nodes in a Dify workflow, you can expand the node panel to see the outputs. The NodePanel component includes a CodeEditor that displays the outputs in a read-only format. This allows you to view the console output directly within the workflow interface [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Feb 17, 2025): <!-- Greeting --> Hey @badspider7! 👋 I'm here to help you with bugs, questions, and contributing. Let's tackle this challenge together! <!-- Answer --> To view the console output for code nodes in a Dify workflow, you can expand the node panel to see the outputs. The `NodePanel` component includes a `CodeEditor` that displays the outputs in a read-only format. This allows you to view the console output directly within the workflow interface <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/components/workflow/run/node.tsx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/1dd1be09-5ddb-4ef9-ae89-a6247aeedf2d?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/1dd1be09-5ddb-4ef9-ae89-a6247aeedf2d?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/1dd1be09-5ddb-4ef9-ae89-a6247aeedf2d?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/1dd1be09-5ddb-4ef9-ae89-a6247aeedf2d?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1dd1be09-5ddb-4ef9-ae89-a6247aeedf2d?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/1dd1be09-5ddb-4ef9-ae89-a6247aeedf2d?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1dd1be09-5ddb-4ef9-ae89-a6247aeedf2d?feedback_type=other)</sup>
Author
Owner

@badspider7 commented on GitHub (Feb 17, 2025):

Image

Thanks for reply,i want to see this console,but i can't with your recommend way.

@badspider7 commented on GitHub (Feb 17, 2025): ![Image](https://github.com/user-attachments/assets/6ca57a9d-a009-427b-9cf7-29a06ea58860) Thanks for reply,i want to see this console,but i can't with your recommend way.
Author
Owner

@crazywoola commented on GitHub (Feb 17, 2025):

No you can not. It's not supported.

@crazywoola commented on GitHub (Feb 17, 2025): No you can not. It's not supported.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8324