Skip to content

Commit

Permalink
Merge pull request #265 from NativeScript/vladimirov/fix-full-path
Browse files Browse the repository at this point in the history
fix: debugging apps with library set should work on all platforms
  • Loading branch information
rosen-vladimirov authored Sep 13, 2019
2 parents b4b8f0a + 986c068 commit 6f8dca0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.10.2
====
## Bug Fixes
- [Unable to debug applications when output.library in webpack.config.js is set](https://github.com/NativeScript/nativescript-vscode-extension/issues/263)


0.10.1
====
## Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript",
"version": "0.10.1",
"version": "0.10.2",
"minNativescriptCliVersion": "2.5.0",
"icon": "images/icon.png",
"displayName": "NativeScript",
Expand Down
2 changes: 1 addition & 1 deletion src/debug-adapter/nativeScriptDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class NativeScriptDebugAdapter extends ChromeDebugAdapter {
args.sourceMapPathOverrides['webpack:///*'] = `${fullAppDirPath}/*`;
}

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

if (existsSync(webpackConfigFile)) {
try {
Expand Down

0 comments on commit 6f8dca0

Please sign in to comment.