API changes bring us closer to google-cloud#180
Conversation
| "split": "^1.0.0" | ||
| }, | ||
| "scripts": { | ||
| "test": "./bin/run-test.sh", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| @@ -52,6 +24,7 @@ | |||
| "changelog-maker": "^2.2.2", | |||
| "closure-npc": "*", | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| setTimeout(function() { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| "split": "^1.0.0" | ||
| }, | ||
| "scripts": { | ||
| "test": "./bin/run-test.sh", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
c758310 to
1e996bb
Compare
|
Ready for another look. |
src/index.js
Outdated
| * This module provides an agent that lets you automatically enable debugging | ||
| * without changes to your application. | ||
| * | ||
| * A low level Client Library for the Debug will also be available through |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| * this module, but is not present at the moment. | ||
| * | ||
| * @constructor | ||
| * @alias module:debug |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This change adapts the primary interface of this module to align it with the API exposed by all the other Google Cloud API Client Libraries available via the `google-cloud` modules [1]. The primary change is that we return a Debug construtor as the return value from the module. This, in the future, will provide a Client Library interface to the Debug APIs. This can be used for programatic access to list or modify breakpoints, logpoints etc. The constructor, like other API clients, accepts authentication and other general configuration. An instantiated debug object exposes a function `startAgent` that can be used to activate the process-wide agent that enables the debugging of an application using the Stackdriver Debug UI in the Google Cloud console. [1]: https://github.com/GoogleCloudPlatform/google-cloud-node
1e996bb to
eaa0fe9
Compare
This change adapts the primary interface of this module to align it
with the API exposed by all the other Google Cloud API Client
Libraries available via the
google-cloudmodules [1].The primary change is that we return a Debug construtor as the return
value from the module. This, in the future, will provide a Client
Library interface to the Debug APIs. This can be used for programatic
access to list or modify breakpoints, logpoints etc. The constructor,
like other API clients, accepts authentication and other general
configuration.
An instantiated debug object exposes a function
startAgentthat canbe used to activate the process-wide agent that enables the debugging
of an application using the Stackdriver Debug UI in the Google Cloud
console.
Feel free to bike-shed on
startAgentvsstart.