0.9.0-beta-4 • Published 7 years ago

fable-elmish-debugger v0.9.0-beta-4

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
7 years ago

Elmish-Debugger: Remotedev tools integration for fable-elmish applications.

Installation

npm install --save remotedev
dotnet fable add fable-elmish-debugger fable-elmish

Add a reference to the assemblies in the package folders (e.g. node_modules/fable-elmish/Fable.Elmish.Debugger.dll).

Follow the monitor installation instructions at Remotedev tools site.

Program module functions

Augument your program instance with a debugger, make sure it's the last item in the Program pipeline:

Usage:

open Elmish.Debug

Program.mkProgram init update view
|> Program.withDebugger // connect to a devtools monitor via Chrome extension if available
|> Program.run

or:

Usage:

open Elmish.Debug

Program.mkProgram init update view
|> Program.withDebuggerAt (Remote("localhost",8000)) // connect to a server running on localhost:8000
|> Program.run


or, using a custom connection:

Usage:
```fsharp
open Elmish.Debug

let connection = Debugger.connect (Remote("localhost",8080)) // obtain the connection, for example if sending some information directly

Program.mkProgram init update view
|> Program.withDebuggerUsing connection
|> Program.run
0.9.0-beta-6

7 years ago

0.9.0-beta-5

7 years ago

0.9.0-beta-4

7 years ago

0.9.0-beta-1

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.1.0-alpha.5

7 years ago

0.1.0-alpha.4

7 years ago

0.1.0-alpha.3

7 years ago

0.1.0-alpha.2

7 years ago

0.1.0-alpha.1

7 years ago