Meant to be called after _enable_attach() -- the current thread will only unblock after a connection is in place and the DAP (Debug Adapter Protocol) sends the ConfigurationDone request.
(cancel=None)
| 2911 | |
| 2912 | |
| 2913 | def _wait_for_attach(cancel=None): |
| 2914 | """ |
| 2915 | Meant to be called after _enable_attach() -- the current thread will only unblock after a |
| 2916 | connection is in place and the DAP (Debug Adapter Protocol) sends the ConfigurationDone |
| 2917 | request. |
| 2918 | """ |
| 2919 | py_db = get_global_debugger() |
| 2920 | if py_db is None: |
| 2921 | raise AssertionError("Debugger still not created. Please use _enable_attach() before using _wait_for_attach().") |
| 2922 | |
| 2923 | py_db.block_until_configuration_done(cancel=cancel) |
| 2924 | |
| 2925 | |
| 2926 | def _is_attached(): |
nothing calls this directly
no test coverage detected