Skip to content

Commit

Permalink
add debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Jun 30, 2017
1 parent e244250 commit c8a4631
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ nuget Fable.PowerPack
nuget Fable.React
nuget Fable.React.Native
nuget Fable.Elmish
nuget Fable.Elmish.Debugger
nuget Fable.Elmish.React
nuget FSharp.NET.Sdk

Expand Down
4 changes: 4 additions & 0 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ NUGET
Fable.Core (>= 1.1.3) - restriction: >= netstandard1.6
Fable.PowerPack (>= 1.1) - restriction: >= netstandard1.6
FSharp.Core (>= 4.2.1) - restriction: >= netstandard1.6
Fable.Elmish.Debugger (0.9)
Fable.Core (>= 1.1.2) - restriction: >= netstandard1.6
Fable.Elmish (>= 0.9) - restriction: >= netstandard1.6
FSharp.Core (>= 4.2.1) - restriction: >= netstandard1.6
Fable.Elmish.React (0.9)
Fable.Core (>= 1.1.2) - restriction: >= netstandard1.6
Fable.Elmish (>= 0.9) - restriction: >= netstandard1.6
Expand Down
2 changes: 2 additions & 0 deletions src/Nightwatch.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ module Nightwatch

open Elmish
open Elmish.React
open Elmish.Debug
open Elmish.ReactNative

Program.mkProgram App.init App.update App.view
|> Program.withSubscription App.subscribe
#if DEBUG
|> Program.withConsoleTrace
|> Program.withDebugger
#endif
|> Program.withReactNative "nightwatch"
|> Program.run
1 change: 1 addition & 0 deletions src/paket.references
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ Fable.PowerPack
Fable.React
Fable.React.Native
Fable.Elmish
Fable.Elmish.Debugger
Fable.Elmish.React
FSharp.NET.Sdk

0 comments on commit c8a4631

Please sign in to comment.