{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/14988","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/14988/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/14988/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/14988/events","html_url":"https://github.com/Microsoft/vscode/issues/14988","id":187346561,"number":14988,"title":"Sourcemap files in subfolders are ignored","user":{"login":"lumaxis","id":406937,"avatar_url":"https://avatars.githubusercontent.com/u/406937?v=3","gravatar_id":"","url":"https://api.github.com/users/lumaxis","html_url":"https://github.com/lumaxis","followers_url":"https://api.github.com/users/lumaxis/followers","following_url":"https://api.github.com/users/lumaxis/following{/other_user}","gists_url":"https://api.github.com/users/lumaxis/gists{/gist_id}","starred_url":"https://api.github.com/users/lumaxis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumaxis/subscriptions","organizations_url":"https://api.github.com/users/lumaxis/orgs","repos_url":"https://api.github.com/users/lumaxis/repos","events_url":"https://api.github.com/users/lumaxis/events{/privacy}","received_events_url":"https://api.github.com/users/lumaxis/received_events","type":"User","site_admin":false},"labels":[{"id":291054922,"url":"https://api.github.com/repos/Microsoft/vscode/labels/debug","name":"debug","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"weinand","id":1898161,"avatar_url":"https://avatars.githubusercontent.com/u/1898161?v=3","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},"assignees":[{"login":"weinand","id":1898161,"avatar_url":"https://avatars.githubusercontent.com/u/1898161?v=3","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-11-04T14:25:33Z","updated_at":"2016-11-09T00:40:51Z","closed_at":"2016-11-09T00:40:51Z","body":"- VSCode Version: Version 1.8.0-insider (dbf3ba74e6cf3b33687b7d47e321e642fc1e7562)\r\n- OS Version: macOS 10.12.1\r\n\r\nI'm trying to add debugging support to one of our Node projects but VS Code is having trouble finding the sourcemaps of `.js` files that are located in subfolders of my `dist` directory. The `dist` directory mirrors the hierarchy structure of my `src` directory.\r\n\r\nThis is what my `gulp` task looks like:\r\n```javascript\r\ngulp.task('build-ts', function () {\r\n  let tsResult = gulp.src(['src/**/*.ts', 'typings/**/*.d.ts'])\r\n    .pipe(sourcemaps.init())\r\n    .pipe(tsProject());\r\n\r\n  return tsResult.js\r\n    .pipe(sourcemaps.write())\r\n    .pipe(gulp.dest('dist'));\r\n});\r\n```\r\n\r\nAnd this is my `launch.json`:\r\n```json\r\n{\r\n  \"name\": \"Launch Program\",\r\n  \"type\": \"node\",\r\n  \"console\": \"integratedTerminal\",\r\n  \"request\": \"launch\",\r\n  \"program\": \"${workspaceRoot}/src/index.ts\",\r\n  \"cwd\": \"${workspaceRoot}\",\r\n  \"runtimeArgs\": [\r\n    \"--nolazy\"\r\n  ],\r\n  \"args\": [\r\n    \"login\"\r\n  ],\r\n  \"outFiles\": [\"${workspaceRoot}/dist/**/*.js\"],\r\n  \"sourceMaps\": true,\r\n  \"preLaunchTask\": \"build\"\r\n}\r\n```\r\n\r\nWhile I can easily set a breakpoint in my `src/index.ts` file, everything that is in a file that is not in the root directory of `src` or `dist` respectively does not work. Am I using `outFiles` wrong?\r\nMy problem feels kind of similar to https://github.com/Microsoft/vscode/issues/13499 but none of the suggested solutions there solved my issue.\r\nIs there anything I can provide to help diagnose/troubleshoot this? Thanks!"}}
{"actor":{"display_login":"lumaxis"}}