merge dev
diff --git a/README.md b/README.md
index 1c9c3a5..c30a50a 100644
--- a/README.md
+++ b/README.md
@@ -137,7 +137,7 @@
 ## Knew Issues
 
 - [`Bug` Source Map Offset](https://github.com/webpack/webpack/issues/2145). Encoding to this problem, please use `devtool:"eval-source-map"` instead of `devtool:"source-map"`.
-- [`Bug` Can't set debugger breakpoint](#). I still don't know the reason, but you can debug with `debugger` keywords.
+- [`Bug` Can't set debugger breakpoint](#). I still don't know the reason, but you can debug with `debugger` keyword.
 
 
 
diff --git a/src/util.js b/src/util.js
index d1328f9..8d479c7 100644
--- a/src/util.js
+++ b/src/util.js
@@ -18,6 +18,10 @@
   return `./${filename}?${cacheKey}`
 }
 
+export function getFilenameByPath (filepath) {
+  return path.relative('.', filepath)
+}
+
 export const FUNC_START = '#####FUN_S#####'
 export const FUNC_START_REG = new RegExp('["\']' + FUNC_START, 'g')
 export const FUNC_END = '#####FUN_E#####'
diff --git a/test/test.js b/test/test.js
index 4208749..575cb60 100644
--- a/test/test.js
+++ b/test/test.js
@@ -161,4 +161,4 @@
     //   }
     // })
   });
-})
+})
\ No newline at end of file
diff --git a/test/webpack.config.js b/test/webpack.config.js
index 1b0f484..07b12d1 100644
--- a/test/webpack.config.js
+++ b/test/webpack.config.js
@@ -18,6 +18,7 @@
     path: path.resolve(__dirname, 'actual'),
     filename: '[name].js'
   },
+  devtool: 'source-map',
   module: {
     loaders: [
       {