import { compose } from 'redux';
import { persistState } from 'redux-devtools';
import DevTools from '../containers/DevTools';

export default function configureStore(next) {
  return compose(
    DevTools.instrument(),
    persistState(
      window.location.href.match(
        /[?&]debug_session=([^&]+)\b/
      )
    )
  )(next);
}

@@ -236,16 +236,104 @@
 e(%0A     
+ getPersistSession()%0A    )%0A  )(next);%0A%7D%0Afunction getPersistSession() %7B%0A  const matches =
  window.
@@ -356,17 +356,8 @@
 tch(
-%0A        
 /%5B?&
@@ -385,32 +385,70 @@
 )%5Cb/
+);
 %0A  
-    )%0A    )%0A  )(next)
+return (matches && matches.length %3E 0)? matches%5B1%5D : null
 ;%0A%7D%0A

Use proper session id instead of whole String.match