We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c90794 commit b6c5281Copy full SHA for b6c5281
README.md
@@ -200,4 +200,19 @@ window.Echo = new Echo({
200
});
201
```
202
203
+You can also enable console output by passing a `debug: true` otpion to your window.Echo intializer :
204
+```js
205
+import Echo from 'laravel-echo';
206
+import {broadcaster} from 'laravel-echo-api-gateway';
207
+
208
+window.Echo = new Echo({
209
+ broadcaster,
210
+ // replace the placeholders
211
+ host: 'wss://{api-ip}.execute-api.{region}.amazonaws.com/{stage}',
212
+ debug: true
213
+});
214
+```
215
216
217
218
Lastly, you have to generate your assets by running Laravel Mix. After this step, you should be up and running.
0 commit comments