Skip to content

Add useImprovedMethodChainDebugging attribute in launch.json #265

@zero-plusplus

Description

@zero-plusplus

RELATED: #260

In the example that follows, consider a break in T.method. If you then step out to debug T.method2, you break on line 004.

For debugging in node.js, you can step out in the method chain to break at the caller (i.e. line 001) and then use step into to break in T.method2.

I think that the parser and function breakpoints could probably be combined to reproduce the above break mechanism.

001| new T()
002|   .method1()
003|   .method2()
004| return
005| class T {
006|   method1() {
007|     Loop 100 {
008|     }
009|   }
010|   method2() {
011|   }
012| }

Metadata

Metadata

Assignees

No one assigned

    Labels

    draftDraft of new featuresenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions