Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit 944c1d5

Browse files
Update README markdown (#219)
Fix formatting so markdown headers for languages don't render.
1 parent d2d1d21 commit 944c1d5

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,19 @@ If your application is running outside of Google Cloud Platform, such as locally
4949

5050
1. You will need to specify your project name. Your project name is visible in the [Google Cloud Console][cloud-console-projects], it may be something like `particular-future-12345`. If your application is [running on Google Cloud Platform](running-on-google-cloud-platform), you don't need to specify the project name. You can specify this either in the module options, or through an environment variable:
5151

52-
```js
53-
// In your app:
54-
var debug = require('@google-cloud/debug')({
55-
projectId: 'particular-future-12345',
56-
keyFilename: '/path/to/keyfile.json'
57-
});
58-
debug.startAgent();
59-
```
60-
61-
```bash
62-
# Or in Bash:
63-
export GCLOUD_PROJECT=<project name>
64-
```
52+
```JS
53+
// In your app:
54+
var debug = require('@google-cloud/debug')({
55+
projectId: 'particular-future-12345',
56+
keyFilename: '/path/to/keyfile.json'
57+
});
58+
debug.startAgent();
59+
```
60+
61+
```BASH
62+
# Or in Bash:
63+
export GCLOUD_PROJECT=<project name>
64+
```
6565

6666
1. You need to provide service account credentials to your application.
6767
* The recommended way is via [Application Default Credentials][app-default-credentials].
@@ -92,15 +92,15 @@ If your application is running outside of Google Cloud Platform, such as locally
9292

9393
You can customize the behaviour of the automatic debugger agent. See [the agent configuration][config-js] for a list of possible configuration options. These options can be passed to the agent through the object argument to the startAgent method as shown below:
9494

95-
```js
96-
debug.startAgent({
97-
serviceContext: {
98-
service: 'my-service',
99-
version: 'version-1'
100-
},
101-
capture: { maxFramesFrames: 20, maxProperties: 100 }
102-
});
103-
```
95+
```JS
96+
debug.startAgent({
97+
serviceContext: {
98+
service: 'my-service',
99+
version: 'version-1'
100+
},
101+
capture: { maxFramesFrames: 20, maxProperties: 100 }
102+
});
103+
```
104104

105105
## Using the Debugger
106106

0 commit comments

Comments
 (0)