You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added new `What's next?` section to readme
* Removed experimental feature flags
* Updated config
* Added highlighting to config
* Changed format of config
* Updated version
* Updated feature list
* Updated docs with new features
* Refactored README
* Fixed filters button
* Update version
@@ -30,7 +31,7 @@ Add `live_debugger` to your list of dependencies in `mix.exs`:
30
31
```elixir
31
32
defpdepsdo
32
33
[
33
-
{:live_debugger, "~> 0.1.7", only::dev}
34
+
{:live_debugger, "~> 0.2.0", only::dev}
34
35
]
35
36
end
36
37
```
@@ -55,6 +56,16 @@ LiveDebugger has [Igniter](https://github.com/ash-project/igniter) support - an
55
56
mix igniter.install live_debugger
56
57
```
57
58
59
+
### DevTools extension
60
+
61
+
Since version v0.2.0 you can install official LiveDebugger DevTools extension, giving you the ability to interact with its features alongside your application's runtime.
> Ensure the main LiveDebugger dependency is added to your mix project, as the browser plugin alone is not enough.
68
+
58
69
## Optional configuration
59
70
60
71
### Browser features
@@ -65,10 +76,13 @@ Some features require injecting JS into the debugged application. They are enabl
65
76
# config/dev.exs
66
77
67
78
# Disables all browser features and does not inject LiveDebugger JS
68
-
config :live_debugger, browser_features?:false
79
+
config :live_debugger, :browser_features?,false
69
80
70
81
# Disables only debug button
71
-
config :live_debugger, debug_button?:false
82
+
config :live_debugger, :debug_button?, false
83
+
84
+
# Disables only components highlighting
85
+
config :live_debugger, :highlighting?, false
72
86
```
73
87
74
88
### Content Security Policy
@@ -88,14 +102,20 @@ In `router.ex` of your Phoenix app, make sure your locally running Phoenix app c
88
102
```elixir
89
103
# config/dev.exs
90
104
105
+
# Allows you to disable LiveDebugger manually if needed
106
+
config :live_debugger, :disabled?, true
107
+
108
+
# Time in ms after tracing will be initialized. Useful in case multi-nodes envs
109
+
config :live_debugger, :tracing_setup_delay, 0
110
+
111
+
# LiveDebugger endpoint config
91
112
config :live_debugger,
92
113
ip: {127, 0, 0, 1}, # IP on which LiveDebugger will be hosted
93
114
port:4007, # Port on which LiveDebugger will be hosted
94
-
secret_key_base:"YOUR_SECRET_KEY_BASE", # Secret key used for LiveDebuggerWeb.Endpoint
95
-
signing_salt:"your_signing_salt", # Signing salt used for LiveDebuggerWeb.Endpoint
96
-
adapter:Bandit.PhoenixAdapter, # Adapter used in LiveDebuggerWeb.Endpoint
115
+
secret_key_base:"YOUR_SECRET_KEY_BASE", # Secret key used for LiveDebugger.Endpoint
116
+
signing_salt:"your_signing_salt", # Signing salt used for LiveDebugger.Endpoint
117
+
adapter:Bandit.PhoenixAdapter, # Adapter used in LiveDebugger.Endpoint
97
118
server:true, # Forces LiveDebugger to start even if project is not started with the `mix phx.server`
98
-
tracing_setup_delay:0# Time in ms after tracing will be initialized. Useful in case multi-nodes envs
99
119
```
100
120
101
121
## Contributing
@@ -115,6 +135,10 @@ LiveReload is working both for `.ex` files and static files, but if some styles
115
135
mix assets.build:dev
116
136
```
117
137
138
+
## What's next
139
+
140
+
To learn about our upcoming plans and developments, please visit our [discussion page](https://github.com/software-mansion/live-debugger/discussions/355).
Since version v0.2.0 you can install official LiveDebugger DevTools extension, giving you the ability to interact with its features alongside your application's runtime.
0 commit comments