@@ -3,20 +3,23 @@ import * as G from 'typings/graphql'
3
3
import * as CR from 'typings'
4
4
5
5
interface Props {
6
- state :string
7
- tutorial :G . Tutorial
8
- position :CR . Position
9
- progress :CR . Progress
10
- children :React . ReactElement
6
+ state :string
7
+ tutorial :G . Tutorial
8
+ env :CR . Environment
9
+ position :CR . Position
10
+ progress :CR . Progress
11
+ children :React . ReactElement
11
12
}
12
13
13
- const Debugger = ( { state, children, position, progress, tutorial} :Props ) => (
14
+ const Debugger = ( { state, children, env , position, progress, tutorial} :Props ) => (
14
15
< div style = { { backgroundColor :'#FFFF99' , color :'black' , padding :'.5rem' } } >
15
16
< h4 > state:{ state } </ h4 >
16
- < p > tutorial:{ tutorial ?tutorial . id :'none' } </ p >
17
+ < p > MachineId:{ env . machineId } </ p >
18
+ < p > SessionId:{ env . sessionId } </ p >
19
+ < p > tutorial:{ tutorial ?tutorial . id :'none' } </ p >
17
20
< p style = { { backgroundColor :'khaki' , padding :'.5rem' } } > position:{ JSON . stringify ( position ) } </ p >
18
- < p style = { { backgroundColor :'moccasin' , padding :'.5rem' } } > progress:{ JSON . stringify ( progress ) } </ p >
19
- { children }
21
+ < p style = { { backgroundColor :'moccasin' , padding :'.5rem' } } > progress:{ JSON . stringify ( progress ) } </ p >
22
+ { children }
20
23
</ div >
21
24
)
22
25