IntelliJ console window not showing debug logs.

已回答

Couple of days back I did some setting changes and after that I am facing this. Any help on this would be appreciated.

2

When you click on one of the tests in the left pane - is anything displayed in the console output pane?
Could you please provide your IDE log file (Help > Collect Logs and Diagnostic Data). You can upload the zip file here: https://uploads.jetbrains.com, and provide the uploaded file ID.

You can also try the following:
Disable all third-party-plugins
* Restore default IDE settings: File > Manage IDE Settings > Restore Default Settings.... IntelliJ will backup the current settings before applying the default ones.

0

How was this issue resolved? I am facing same issue, when i run integration tests in RUN mode and click on individual tests in the left pane i can see the logs printed related to the test in console, but when i run in DEBUG mode and click individual test then console is empty, but if i click on Test results i can see logs for all the tests results together.  I want to see individual tests logs. please help, facing issue after upgrading to idea ultimate 2024.1. And i tried above suggestion, no luck.

2

Hello, Jnanasagar HG. Could you please clarify if you also encountered a problem with the Cucumber tests? If so, does this bug report look similar to your issue?

0

I encountered the same problem as Jnanasagar HG. The logs can be seen on the console in run mode, but cannot be displayed when debug mode is started. This problem will occur when I update to the latest version, and fall back to the old version (2023.2.5) everything is ok, the project can be restored without changing anything, but I want to use your new version. I hope you can provide a solution or fix the problem, thanks! I have been troubled by this problem for a year.

1

HI Olga Mulina I am not using Cucumber or any other library, its just Junit 5 with spring boot, as beifengtz mentioned, in older version it just works fine no need to change anything but happening in latest versions.

0

Will you be able to provide a small sample project?

 

0

I found a solution, which should be related to this new function. It can be solved by disable or selecting None.

Suggestion: I think the settings of new functions should remain unchanged or prompt users whether to change them, otherwise we will not know where to set them when inexplicable problems occur.

1

By the way, this problem cannot be reproduced in spring applications. Maybe the idea configuration has some special settings for spring. I appeared in a non-spring application (native java application).

0

beifengtz Hi, Thanks a lot, its working for me as well after selecting None option as you explained above, finally!! 

0

I was facing issue in spring boot app, when i click on individual test then it was not showing logs related to that particular test, but when i select top level (file name) as Ethan Yin selected then it was showing logs for all the tests in same screen

0

I don’t know what impact this new feature has. In my environment, spring boot application is ok, but native applications written with Netty have this problem.

0

> I don’t know what impact this new feature has.

Please refer to the explanation here: https://www.jetbrains.com/help/idea/2024.1/reactor.html#reactor-debug-settings . See https://blog.jetbrains.com/idea/2023/06/reactive-programming-made-easy/ for more details about the debug feature.

0

请先登录再写评论。