@@ -60,46 +60,36 @@ In Observability Mode, Lambda Live Debugger intercepts requests and sends them t
60
60
61
61
### Installation
62
62
63
- Install locally :
63
+ Install globally :
64
64
65
65
```
66
- npm install lambda-live-debugger
66
+ npm install lambda-live-debugger -g
67
67
```
68
68
69
- or globally
69
+ _ (On Linux and Mac: ` sudo npm install lambda-live-debugger -g ` )_
70
+
71
+ or locally
70
72
71
73
```
72
74
npm install lambda-live-debugger -g
73
75
```
74
76
75
- (On Linux and Mac: ` sudo npm install lambda-live-debugger -g ` )
77
+ _ (If installed locally, you must prefix all commands with ` npx ` , if they are not part of ` scripts ` in ` package.json ` .) _
76
78
77
- Running the Tool
79
+ ## Running the Tool
78
80
79
81
With default profile, region, and other default settings:
80
82
81
83
```
82
84
lld
83
85
```
84
86
85
- or if installed locally:
86
-
87
- ```
88
- npx lld
89
- ```
90
-
91
- But you probably need to tweak some settings. You can do it via CLI parameters or, better, run a wizard:
87
+ You probably need to tweak some settings. You can do it via CLI parameters or, better, run the wizard:
92
88
93
89
```
94
90
lld -w
95
91
```
96
92
97
- or if installed locally:
98
-
99
- ```
100
- npx lld -w
101
- ```
102
-
103
93
The configuration is saved to ` lldebugger.config.ts `
104
94
105
95
### CLI Parameters
@@ -167,12 +157,6 @@ To remove Lambda Live Debugger from your AWS account
167
157
lld -r
168
158
```
169
159
170
- or if installed locally:
171
-
172
- ```
173
- npx lld -r
174
- ```
175
-
176
160
This detaches the Layer from your Lambdas and removes the IoT permission policy. It will not remove the Layer as others might use it.
177
161
178
162
To also remove the Layer:
@@ -181,12 +165,6 @@ To also remove the Layer:
181
165
lld -r=all
182
166
```
183
167
184
- or if installed locally:
185
-
186
- ```
187
- npx lld -r=all
188
- ```
189
-
190
168
## Framework-Specific Notes
191
169
192
170
### AWS CDK v2
0 commit comments