How to display ANSI colors in VSCode debug console?

99 Views Asked by At

I debug the xv6 kernel in VSCode, but the debug console doesn't seem to support ANSI colors perfectly.I don't know how to make it display ANSI colors correctly. What my Debug Console shows

I have tried to find a solution to the problem, and I have noticed that this problem was mentioned in an issue of VSCode, and the issue has been solved by PR. I feel that my problem is similar to what is described in this issue, but I have not been able to solve it.

I also tried this in PR, and when I debugged the ts program, the Debug Console seemed to work fine. However, when I debug a C/C++ program (xv6 kernel), ANSI colors are not displayed correctly. What my Debug Console shows when I tried to debug TypeScript file

0

There are 0 best solutions below