Commit 3d18bf9
committed
Stop terminating "attached" debugees
When attaching to an already running process, you typically want to
temporarily inspect the process, but you do not want to manage the
process' lifetime. The exit callback currently terminates all sessions
and their debugees.
autocmd ExitPre * lua require('dap')._vim_exit_handler()
This commit changes the exit handler such that it disconnects from
"attached" debugees without terminating them.1 parent 4377a05 commit 3d18bf9
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1034 | 1034 | | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
1041 | | - | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
1042 | 1046 | | |
1043 | 1047 | | |
1044 | 1048 | | |
| |||
0 commit comments