Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging eval code doesn't work with bun-vscode #11089

Open
bogeychan opened this issue May 15, 2024 · 0 comments
Open

Debugging eval code doesn't work with bun-vscode #11089

bogeychan opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working debugger Something to do with `bun --inspect` or the debugger

Comments

@bogeychan
Copy link

What version of Bun is running?

1.1.8

What platform is your computer?

WSL Ubuntu

What steps can reproduce the bug?

// main.js
const foo = eval(`function bar() {
    return 3;
}
bar()`);

console.log(foo);
  1. Set breakpoint in first line
  2. Press F5 and debug using Step Into

What is the expected behavior?

Open an additional view and show me the position in eval's source code, like Node does:

image

What do you see instead?

Nothing, i'm stuck in the same source code position

Additional information

No response

@bogeychan bogeychan added the bug Something isn't working label May 15, 2024
@Electroid Electroid added the debugger Something to do with `bun --inspect` or the debugger label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working debugger Something to do with `bun --inspect` or the debugger
Projects
None yet
Development

No branches or pull requests

2 participants