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 a way to visualize logging done in pre-requests and tests #8

Closed
GauthierPLM opened this issue Mar 24, 2023 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@GauthierPLM
Copy link

Is your feature request related to a problem?

When building a pre-request or test script, it is common to use console.log() and similar functions to debug the JS code executed. Currently, there is no way to visualise these logs from the IDE (currently using DataGrip).

Describe the solution you'd like

A panel displaying the logs produced from pre-requests and tests. It might be part of the visualization described in #2, or a dedicated tool window (but I am not sure adding tool window is the most UX friendly way to approach this).

Additional context

With this issue and #2, the plugin would have a visualization similar to Postman' console.

@GauthierPLM GauthierPLM added the enhancement New feature or request label Mar 24, 2023
@AntonShuvaev
Copy link
Owner

The output of console.log is displayed along with test results. But I agree that it is not very convenient and I plan to show it in the service tool window, as you described.

@AntonShuvaev
Copy link
Owner

Version 2024.1.6 now includes a console in the Services tool window for viewing requests, responses, and script output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants