diff --git a/.vscode/launch.json b/.vscode/launch.json index 04d620f..c0a0cea 100755 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,7 @@ "args": ["--extensionDevelopmentPath=${workspaceRoot}" ], "stopOnEntry": false, "sourceMaps": true, - "outDir": "${workspaceRoot}/out/src", + "outDir": "${workspaceRoot}/out", "preLaunchTask": "build" }, { @@ -27,12 +27,12 @@ "name": "Launch debugger as server", "type": "node", "request": "launch", - "program": "${workspaceRoot}/out/webkit/debugCordova.js", + "program": "${workspaceRoot}/out/src/debugger/debugCordova.js", "runtimeArgs": ["--harmony"], "stopOnEntry": false, "args": [ "--server=4712" ], "sourceMaps": true, - "outDir": "out" + "outDir": "${workspaceRoot}/out" } ] } diff --git a/gulpfile.js b/gulpfile.js index 5f50d99..507f628 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -56,7 +56,7 @@ gulp.task('build', function () { return gulp.src(sources, { base: '.' }) .pipe(sourcemaps.init()) .pipe(ts(projectConfig)) - .pipe(sourcemaps.write('.', { includeContent: false, sourceRoot: 'file:///' + __dirname })) + .pipe(sourcemaps.write('.', { includeContent: false, sourceRoot: __dirname })) .pipe(gulp.dest('out')); });