Skip to content

Commit 6f8dca0

Browse files
Merge pull request #265 from NativeScript/vladimirov/fix-full-path
fix: debugging apps with library set should work on all platforms
2 parents b4b8f0a + 986c068 commit 6f8dca0

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
0.10.2
2+
====
3+
## Bug Fixes
4+
- [Unable to debug applications when output.library in webpack.config.js is set](https://github.com/NativeScript/nativescript-vscode-extension/issues/263)
5+
6+
17
0.10.1
28
====
39
## Bug Fixes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript",
3-
"version": "0.10.1",
3+
"version": "0.10.2",
44
"minNativescriptCliVersion": "2.5.0",
55
"icon": "images/icon.png",
66
"displayName": "NativeScript",

src/debug-adapter/nativeScriptDebugAdapter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export class NativeScriptDebugAdapter extends ChromeDebugAdapter {
186186
args.sourceMapPathOverrides['webpack:///*'] = `${fullAppDirPath}/*`;
187187
}
188188

189-
const webpackConfigFile = join(`./${args.webRoot}`, 'webpack.config.js');
189+
const webpackConfigFile = join(args.webRoot, 'webpack.config.js');
190190

191191
if (existsSync(webpackConfigFile)) {
192192
try {

0 commit comments

Comments
 (0)