Skip to content

DEBUG CONSOLE - does not match file paths with ANSI escape sequences. #250942

Open
@mizulu

Description

@mizulu

Yes

  • VS Code Version: 1.100.0-insider
  • OS Version: windows 10 x64

Steps to Reproduce:

  1. open a folder /tmp with abc.js file in it in vsc

run the abc.js file in the DEBUG CONSOLE

console.log("/tmp/abc.js\x1b[0m:1:7");
// but without ansi escape sequence it selects the line number and column
console.log("/tmp/abc.js:1:7");

if you run this in terminal, both log lines select the file including the line number and column
so the problem is isolated to the DEBUG CONSOLE

oven-sh/bun#20185

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions