You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
// No auth necessary if your code is running on Google Cloud Platform.
29
29
30
30
// ... or, if you are running elsewhere, you can manually provide credentials:
31
31
require('@google-cloud/debug-agent').start({
32
+
allowExpressions:true,
32
33
projectId:'particular-future-12345',
33
34
keyFilename:'/path/to/keyfile.json'
34
35
});
@@ -56,6 +57,7 @@ If your application is running outside of Google Cloud Platform, such as locally
56
57
```JS
57
58
// In your app:
58
59
var debug =require('@google-cloud/debug-agent').start({
60
+
allowExpressions:true,
59
61
projectId:'particular-future-12345',
60
62
keyFilename:'/path/to/keyfile.json'
61
63
});
@@ -77,6 +79,9 @@ If your application is running outside of Google Cloud Platform, such as locally
77
79
```js
78
80
// Require and start the agent with configuration options
79
81
require('@google-cloud/debug-agent').start({
82
+
// Allow the evaluation of watch expressions and snapshot conditions:
83
+
allowExpressions: true,
84
+
80
85
// The path to your key file:
81
86
keyFilename: '/path/to/keyfile.json',
82
87
@@ -93,20 +98,19 @@ If your application is running outside of Google Cloud Platform, such as locally
93
98
94
99
## Debugger Agent Settings
95
100
96
-
You can customize the behaviour of the automatic debuggeragent. See [the agent configuration][config-js] for a list of possible configuration options. These options can be passed in the `options.debug` object passed to the `start`function.
101
+
You can customize the behaviour of the automatic debuggeragent. See [the agent configuration][config-js] for a list of possible configuration options. These options can be passed in the `options` object passed to the `start`function.
0 commit comments