You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeeded
const redText = '\x1b[31m%s\x1b[0m';
const greenText = '\x1b[32m%s\x1b[0m';
const yellowText = '\x1b[33m%s\x1b[0m';
const blueText = '\x1b[34m%s\x1b[0m';
const magentaText = '\x1b[35m%s\x1b[0m';
const cyanText = '\x1b[36m%s\x1b[0m';
const whiteText = '\x1b[37m%s\x1b[0m';
console.log(redText, 'This is red text');
console.log(greenText, 'This is green text');
console.log(yellowText, 'This is yellow text');
console.log(blueText, 'This is blue text');
console.log(magentaText, 'This is magenta text');
console.log(cyanText, 'This is cyan text');
console.log(whiteText, 'This is white text');
debugger;
Verify the colors are correct when logged debug console
Verify that the Variables view, variable hovers, and value when a variable is entered in the REPL it shows the actual string values (without styling)
Now, Debug: Open Link and open https://code.visualstudio.com
Enter const x = document.body; debugger; in the REPL
Verify the HTML elements are colored when you look at x and its childrens in the debug hover, Variables view, and debug console
Hello, I encountered a problem in Node.js. When I input console.log('\x1b[31m%s\x1b[0m', 'This is red text'); (red text), it shows red texts correctly; but when I input console.log('\x1b[31mThis is red text\x1b[0m'); directly in the debug console, it was not colorized. same thing happens with log4js library. Is it a bug, or I have made any mistake? If needed, I can provide logs about that.
debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeeded
Activity
debug: adopt formalized DAP ANSI styling support
debug: adopt formalized DAP ANSI styling support (microsoft#227729)
connor4312 commentedon Sep 25, 2024
To verify:
Debug: Open Linkand openhttps://code.visualstudio.comconst x = document.body; debugger;in the REPLxand its childrens in the debug hover, Variables view, and debug consolecsgka1 commentedon Oct 14, 2024
Hello, I encountered a problem in Node.js. When I input
console.log('\x1b[31m%s\x1b[0m', 'This is red text');(red text), it shows red texts correctly; but when I inputconsole.log('\x1b[31mThis is red text\x1b[0m');directly in the debug console, it was not colorized. same thing happens withlog4jslibrary. Is it a bug, or I have made any mistake? If needed, I can provide logs about that.