-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: source
command as flag for delve (before entering dlv prompt)
#3076
Comments
The |
Confirmed, thank you. I'd recommend adding a bit more documentation to the Thanks again! |
I really love automating things and I'd like to be able to directly invoke a Delve script without manually entering the delve prompt first.
e.g. instead of
I'd like to do:
dlv attach $pid --source dlv-script.txt
Context
My use case would be to automatically generate an external list of functions for a new project. Currently that looks like this:
gen-funcs.sh
gen-funcs.dlv
Now in Delve prompt:
I'd like to avoid the need to manually enter a Delve prompt, type my command, and immediately exit when I'm finished.
Related: #2324
The text was updated successfully, but these errors were encountered: