File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ This is the UI you see when you type `ui` into `ucm`.
1919
20204 . Visit ` http://localhost:1234 ` in a browser.
2121
22+ > 💡 Set the environment variable ` ELM_DEBUG=1 ` before starting the dev server to enable Elm's time-travelling debugger.
23+
2224## Dependencies
2325
2426This depends on the [ ui-core package] ( https://github.com/unisonweb/ui-core ) via
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ const postcssPresetEnv = require("postcss-preset-env");
44const FaviconsWebpackPlugin = require ( "favicons-webpack-plugin" ) ;
55
66const API_URL = process . env . API_URL || "127.0.0.1:8080" ;
7+ const ELM_DEBUG = process . env . ELM_DEBUG || false ;
78const UI_CORE_SRC = "elm-stuff/gitdeps/github.com/unisonweb/ui-core/src" ;
89
910module . exports = {
@@ -63,7 +64,7 @@ module.exports = {
6364 {
6465 loader : "elm-webpack-loader" ,
6566 options : {
66- debug : false ,
67+ debug : ELM_DEBUG ,
6768 cwd : __dirname ,
6869 } ,
6970 } ,
You can’t perform that action at this time.
0 commit comments