Skip to content

Commit c6cf093

Browse files
committed
add SourceMaps configuration in readme
1 parent 9ca4ce9 commit c6cf093

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ and choose NativeScript debug environment.
2323

2424
### Debug your NativeScript application
2525

26+
#### SourceMaps configuration
27+
Add in `webpack.config.js` file the next configuration.
28+
29+
```js
30+
webpack.chainWebpack(config => {
31+
config.output.devtoolNamespace('app')
32+
})
33+
```
34+
35+
#### Start debug
36+
2637
To start the application with attached debugger, choose one of the launch configurations from the drop-down list and then click the start button.
2738

2839
![Launch settings](https://raw.githubusercontent.com/NativeScript/nativescript-vscode-extension/master/images/screenshots/nativescript-launch-configurations.png)

0 commit comments

Comments
 (0)