@@ -3,20 +3,23 @@ import * as G from 'typings/graphql'
33import * as CR from 'typings'
44
55interface 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
1112}
1213
13- const Debugger = ( { state, children, position, progress, tutorial} :Props ) => (
14+ const Debugger = ( { state, children, env , position, progress, tutorial} :Props ) => (
1415< div style = { { backgroundColor :'#FFFF99' , color :'black' , padding :'.5rem' } } >
1516< 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 >
1720< 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 }
2023</ div >
2124)
2225