On_ready callback for setup_dap_main_class_configs() #415
mikehaertl
started this conversation in
Ideas
Replies: 1 comment
-
Makes sense to me. Opened up #419 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wonder if it would make sense to be able to pass a callback to
setup_dap_main_class_configs()
. It would be called when the configuration is ready.I may do things wrong but right now to start debugging I do:
setup_dap_main_class_configs()
or:JdtRefreshDebugConfigs
require('dap').continue()
to start debuggingI can't put both into a function because
continue()
has to wait until the configuration is ready.With a callback this could be streamlined to:
Beta Was this translation helpful? Give feedback.
All reactions