Commit 0d77088
committed
Add support for running concurrent debug sessions
New API:
- `dap.sessions()` to return active debug sessions
- `dap.ui.widgets.sessions` to show active debug sessions
Step functions will change the focus automatically if the currently
focused session is not stopped.
This should make common scenarios like debugging client + server where
you step from making requests on the client to receiving request on the
server convenient.
Note that this is unrelated to `startDebugging` support. The PR here is
about concurrent top-level sessions. `startDebugging` support will
introduce hierarchical sessions. (Probably including something like
`children` in the `Session` object)1 parent 0e376f0 commit 0d77088
File tree
8 files changed
+286
-77
lines changed- doc
- lua
- dap
- ui
- tests
8 files changed
+286
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
| 618 | + | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
628 | 631 | | |
629 | 632 | | |
| 633 | + | |
| 634 | + | |
630 | 635 | | |
631 | 636 | | |
632 | 637 | | |
| |||
919 | 924 | | |
920 | 925 | | |
921 | 926 | | |
922 | | - | |
| 927 | + | |
| 928 | + | |
923 | 929 | | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
924 | 933 | | |
925 | 934 | | |
926 | 935 | | |
| |||
1030 | 1039 | | |
1031 | 1040 | | |
1032 | 1041 | | |
| 1042 | + | |
1033 | 1043 | | |
1034 | 1044 | | |
1035 | 1045 | | |
| |||
0 commit comments