Skip to content

Commit

Permalink
use --inspect instead of --inspect-brk
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Mar 10, 2021
1 parent 267d733 commit 0ef1ab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/debug_config_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class DenoDebugConfigurationProvider
runtimeArgs: [
"run",
...(this.#getSettings().unstable ? ["--unstable"] : []),
"--inspect-brk",
"--inspect",
"--allow-all",
],
attachSimplePort: 9229,
Expand Down Expand Up @@ -55,7 +55,7 @@ export class DenoDebugConfigurationProvider
runtimeArgs: [
"run",
...(this.#getSettings().unstable ? ["--unstable"] : []),
"--inspect-brk",
"--inspect",
"--allow-all",
],
attachSimplePort: 9229,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"runtimeExecutable": "deno",
"runtimeArgs": [
"run",
"--inspect-brk=127.0.0.1:${4:9229}",
"--inspect=127.0.0.1:${4:9229}",
"${3:--allow-all}"
],
"attachSimplePort": "^${4:9229}"
Expand Down

0 comments on commit 0ef1ab0

Please sign in to comment.