# Trace portion is not the same for the code

**URL:** <https://forum.codewithmosh.com/t/trace-portion-is-not-the-same-for-the-code/102>\
**Category:** Redux\
**Created:** [October 23, 2020, 1:20pm UTC](https://forum.codewithmosh.com/t/trace-portion-is-not-the-same-for-the-code/102 "2020-10-23T13:20:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanket1234](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sanket1234](https://forum.codewithmosh.com/u/sanket1234)\
**Post date:** [October 23, 2020, 1:20pm UTC](https://forum.codewithmosh.com/t/trace-portion-is-not-the-same-for-the-code/102/1 "2020-10-23T13:20:24Z")

</div>

Trace portion which is being used along with the code in tutorials for redux dev tools is giving a different outcome want some help with this

---

<div class="post-metadata">

**Author:** ![bkidd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/bkidd/32/236_2.png) [@bkidd](https://forum.codewithmosh.com/u/bkidd)\
**Post date:** [December 22, 2020, 1:23am UTC](https://forum.codewithmosh.com/t/trace-portion-is-not-the-same-for-the-code/102/3 "2020-12-22T01:23:46Z")

</div>

Hello,  
If you add devtool: “source-map” to your webpack.config.js file, trace should work as expected.  
Below is what my webpack.config.js file looks like

module.exports = {  
entry: “./src/index.js”,  
output: {  
filename: “app.js”,  
path: path.resolve(\_\_dirname, “dist”)  
},  
devServer: {  
contentBase: path.join(\_\_dirname, “dist”),  
port: 9000  
},  
mode: “development”,  
devtool: “source-map”  
};
