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

Not sure how to add a working function breakpoint #115115

Closed
rzhao271 opened this issue Jan 26, 2021 · 3 comments
Closed

Not sure how to add a working function breakpoint #115115

rzhao271 opened this issue Jan 26, 2021 · 3 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *out-of-scope Posted issue is not in scope of VS Code

Comments

@rzhao271
Copy link
Contributor

Testing #114345

I'm trying to add function breakpoints but they get greyed out.
When I hover over them, it says that they aren't supported by the debug type I have.

greyed-out-function

Here's my launch config:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "pwa-node",
            "request": "launch",
            "name": "Launch Program",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "program": "${workspaceFolder}\\index.js"
        }
    ]
}
@isidorn
Copy link
Contributor

isidorn commented Jan 26, 2021

This is controlled by the js-debug, thus forwarding to @connor4312
I believe the message is correct and that js-debug simply does not support them and this is expected behavior, however leaving this up to Connor

@isidorn isidorn assigned connor4312 and unassigned isidorn Jan 26, 2021
@isidorn isidorn added the debug Debug viewlet, configurations, breakpoints, adapter issues label Jan 26, 2021
@connor4312
Copy link
Member

connor4312 commented Jan 26, 2021

That's right. There's no functionality that V8 exposes in its debug protocol for us to have function breakpoints, sadly.

@connor4312 connor4312 added the *out-of-scope Posted issue is not in scope of VS Code label Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

4 participants
@isidorn @connor4312 @rzhao271 and others