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

[VSCode] Debugger does not log to debug console #14244

Open
elemental-mind opened this issue Sep 29, 2024 · 0 comments
Open

[VSCode] Debugger does not log to debug console #14244

elemental-mind opened this issue Sep 29, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@elemental-mind
Copy link

What version of Bun is running?

1.1.30-canary.71+af82a446d, VSCode Extension Version v0.0.15

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

  1. Create a file with a console.log statement. For example:
console.log("This should be displayed on the debug console.");
console.log("This as well");
console.log("But it simply does not show up");
  1. Debug the file and observe the "Debug Console"

What is the expected behavior?

The log statements get logged to the debug console.

What do you see instead?

The debug console simply shows:

Debugger attached.
Debugger detached.

image

The console.log statements are missing.

Additional information

This is the excerpt of the launch.json:

    "configurations": [
        {
            "name": "Launch and attach",
            "type": "bun",
            "request": "attach",
            "url": "ws://127.0.0.1:5000/test",
            "preLaunchTask": "Bun: Start Debugger",
            "internalConsoleOptions": "openOnSessionStart"
        },
    ]
@elemental-mind elemental-mind added bug Something isn't working needs triage labels Sep 29, 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 needs triage
Projects
None yet
Development

No branches or pull requests

1 participant