0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00

Add allow-read to file-server debugger example (#5282)

This commit is contained in:
Amen 2020-05-13 23:06:43 +01:00 committed by GitHub
parent 7ceac1284e
commit 38e253e377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ use [file_server.ts](https://deno.land/std@v0.50.0/http/file_server.ts) from
Use `--inspect-brk` flag to break execution on the first line.
```shell
$ deno run --inspect-brk https://deno.land/std@v0.50.0/http/file_server.ts
$ deno run --inspect-brk --allow-read --allow-net https://deno.land/std@v0.50.0/http/file_server.ts
Debugger listening on ws://127.0.0.1:9229/ws/1e82c406-85a9-44ab-86b6-7341583480b1
Download https://deno.land/std@v0.50.0/http/file_server.ts
Compile https://deno.land/std@v0.50.0/http/file_server.ts