Debugging experience: Goland vs VS Code

已完成

After building an API in Go using VS Code, I am trying out Goland in hope of better debug tooling. Specifically e.g. that Goland prints time strings by default. 

However, I find the debugging "ergonomics" or layout in Goland inferior to VS Code. Personal opinion following.

The most obvious debug experience difference is that VS Code has the debug console grouped with the terminal in the bottom of the layout. That makes sense because the console can show long stack traces, printouts etc. Thus I would like the console to occupy the IDE bottom, at or near full IDE width.

In addition, the evaluation tool in VS Code is integrated in the debug console, with caret autofocus on opening, and evaluation output in the same window. Super nice IMO.

Also in VS Code, since the debug console is separate from the variables window, the variables explorer seems natural to fit on the side of the IDE. Because the variables are by default shown as nested structures, they usually fit in my fixed size side bar. 

In VS Code, I don't have to choose between inspecting the variables or watching the debug console. And I don't have to use a third window to evaluate variables. 

I realize that suggesting such changes to the IDEA general layout is a lot to ask. I just want to share my opinion, probing if other users share my view point.

0
正式评论

Hi @...,

Thanks for your feedback and points.

The most obvious debug experience difference is that VS Code has the debug console grouped with the terminal in the bottom of the layout. That makes sense because the console can show long stack traces, printouts etc. Thus I would like the console to occupy the IDE bottom, at or near full IDE width.

Feel free to vote for IDEA-98778 and IDEA-189429 to stay updated. As we discussed in another post, you can move your Console tab to the bottom of Debug window. I've attached a small gif with the example here.

In addition, the evaluation tool in VS Code is integrated in the debug console, with caret autofocus on opening, and evaluation output in the same window. Super nice IMO.

Please, follow IDEA-77769. You can open Evaluation Window using shortcut Option(Alt)+F8 by default.

Also in VS Code, since the debug console is separate from the variables window, the variables explorer seems natural to fit on the side of the IDE. Because the variables are by default shown as nested structures, they usually fit in my fixed size side bar.

I guess it can be possible after we implement IDEA-98778 and you can move your Debug window to the left side of GoLand.

Avatar
Permanently deleted user

Thanks, I tried moving the console to the bottom of the debug group. It is definitely better IMO, just lacks the final touch: to drop the console next to the terminal :)

I have upvoted and follow the issues you mentioned, thanks again :)

1

请先登录再写评论。