-
Notifications
You must be signed in to change notification settings - Fork 80
[hooks] Add documentation on running the debugger #2706
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
Conversation
Package publishing
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. |
PR HealthBreaking changes ✔️
This check can be disabled by tagging the PR with Changelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. This check can be disabled by tagging the PR with API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
This check can be disabled by tagging the PR with License Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
This check can be disabled by tagging the PR with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
/// Again, make sure to replace `your_package_name`, and `some_hash` with the | ||
/// actual paths from your project. After setting this up, you can run the | ||
/// "Debug Link Hook" configuration from the "Run and Debug" view in VS Code. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: drop this blank line?
/// | ||
/// * `input.json`: The configuration and data passed into your link hook. | ||
/// * `output.json`: The JSON data that your link hook produced. | ||
/// * `stdout.txt`: Any standard output from your script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// * `stdout.txt`: Any standard output from your script. | |
/// * `stdout.txt`: Any standard output from your link hook. |
Let's stay with one terminology?
/// Again, make sure to replace `your_package_name`, and `some_hash` with the | ||
/// actual paths from your project. After setting this up, you can run the | ||
/// "Debug Build Hook" configuration from the "Run and Debug" view in VS Code. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: drop blank line?
/// specific | ||
/// to your hook's execution. The path is of the form |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: strange line breaking?
/// | ||
/// * `input.json`: The configuration and data passed into your build hook. | ||
/// * `output.json`: The JSON data that your build hook produced. | ||
/// * `stdout.txt`: Any standard output from your script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// * `stdout.txt`: Any standard output from your script. | |
/// * `stdout.txt`: Any standard output from your build hook. |
Let's stay with one terminology?
pkgs/hooks/doc/debugging.md
Outdated
build configuration. | ||
* `output.json`: This file stores the JSON data that your build hook *produced* | ||
as its result. | ||
* `stdout.txt`: Captures any standard output from your script. This is where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `stdout.txt`: Captures any standard output from your script. This is where | |
* `stdout.txt`: Captures any standard output from your build hook. This is where |
Let's stay with one terminology?
pkgs/hooks/doc/debugging.md
Outdated
@@ -0,0 +1,86 @@ | |||
# Debugging Dart Build Hooks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: technically, all that's said in here also applies to link hooks. Should we note that somewhere? Or is the omission on purpose because link hooks aren't launched yet? Even then, a short note that this also applies in the same way to the experimental link hooks may be useful.
Closes: #2702