{"action":"created","issue":{"url":"https://api.github.com/repos/iradul/vscode-phantomjs-debug/issues/9","repository_url":"https://api.github.com/repos/iradul/vscode-phantomjs-debug","labels_url":"https://api.github.com/repos/iradul/vscode-phantomjs-debug/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/iradul/vscode-phantomjs-debug/issues/9/comments","events_url":"https://api.github.com/repos/iradul/vscode-phantomjs-debug/issues/9/events","html_url":"https://github.com/iradul/vscode-phantomjs-debug/issues/9","id":183506557,"number":9,"title":"Debug adapter process has terminated unexpectedly","user":{"login":"AhmedBM","id":224804,"avatar_url":"https://avatars.githubusercontent.com/u/224804?v=3","gravatar_id":"","url":"https://api.github.com/users/AhmedBM","html_url":"https://github.com/AhmedBM","followers_url":"https://api.github.com/users/AhmedBM/followers","following_url":"https://api.github.com/users/AhmedBM/following{/other_user}","gists_url":"https://api.github.com/users/AhmedBM/gists{/gist_id}","starred_url":"https://api.github.com/users/AhmedBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AhmedBM/subscriptions","organizations_url":"https://api.github.com/users/AhmedBM/orgs","repos_url":"https://api.github.com/users/AhmedBM/repos","events_url":"https://api.github.com/users/AhmedBM/events{/privacy}","received_events_url":"https://api.github.com/users/AhmedBM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-17T19:34:26Z","updated_at":"2016-10-18T15:33:31Z","closed_at":null,"body":"Following your instructions i get the error \"Debug adapter process has terminated unexpectedly\". I do use webpack as well where the entry point is config/spec-bundle.js. Am i doing something wrong?\r\n\r\n**launch.json**\r\n> {\r\n            \"name\": \"Launch\",\r\n            \"type\": \"phantomjs\",\r\n            \"request\": \"launch\",\r\n            \"file\": \"${workspaceRoot}/config/spec-bundle.js\",\r\n            \"webRoot\": \"${workspaceRoot}\",\r\n            \"runtimeExecutable\": \"${workspaceRoot}/phantomjs.exe\",\r\n            \"runtimeArgs\": [],\r\n            \"sourceMaps\": true\r\n        }\r\n\r\n**config/spec-bundle.js**\r\n> Error.stackTraceLimit = Infinity;\r\n\r\n> require('core-js/es6');\r\n> require('core-js/es7/reflect');\r\n> \r\n> // Typescript emit helpers polyfill\r\n> require('ts-helpers');\r\n> \r\n> require('zone.js/dist/zone');\r\n> require('zone.js/dist/long-stack-trace-zone');\r\n> require('zone.js/dist/proxy'); // since zone.js 0.6.15\r\n> require('zone.js/dist/sync-test');\r\n> require('zone.js/dist/jasmine-patch'); // put here since zone.js 0.6.14\r\n> require('zone.js/dist/async-test');\r\n> require('zone.js/dist/fake-async-test');\r\n> \r\n> // RxJS\r\n> require('rxjs/Rx');\r\n> \r\n> var testing = require('@angular/core/testing');\r\n> var browser = require('@angular/platform-browser-dynamic/testing');\r\n> \r\n> testing.TestBed.initTestEnvironment(\r\n>   browser.BrowserDynamicTestingModule,\r\n>   browser.platformBrowserDynamicTesting()\r\n> );\r\n> \r\n> var testContext = require.context('../src', true, /\\.spec\\.ts/);\r\n> \r\n> function requireAll(requireContext) {\r\n>   return requireContext.keys().map(requireContext);\r\n> }\r\n> \r\n> // requires and returns all modules that match\r\n> var modules = requireAll(testContext);"},"comment":{"url":"https://api.github.com/repos/iradul/vscode-phantomjs-debug/issues/comments/254545945","html_url":"https://github.com/iradul/vscode-phantomjs-debug/issues/9#issuecomment-254545945","issue_url":"https://api.github.com/repos/iradul/vscode-phantomjs-debug/issues/9","id":254545945,"user":{"login":"iradul","id":2411422,"avatar_url":"https://avatars.githubusercontent.com/u/2411422?v=3","gravatar_id":"","url":"https://api.github.com/users/iradul","html_url":"https://github.com/iradul","followers_url":"https://api.github.com/users/iradul/followers","following_url":"https://api.github.com/users/iradul/following{/other_user}","gists_url":"https://api.github.com/users/iradul/gists{/gist_id}","starred_url":"https://api.github.com/users/iradul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iradul/subscriptions","organizations_url":"https://api.github.com/users/iradul/orgs","repos_url":"https://api.github.com/users/iradul/repos","events_url":"https://api.github.com/users/iradul/events{/privacy}","received_events_url":"https://api.github.com/users/iradul/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T15:33:31Z","updated_at":"2016-10-18T15:33:31Z","body":"Thank you for filing this. There are couple of things that need to be fixed before we can try to resolve this. One is related to this debugger but the other more important one is related to PhantomJS and that one will have to be fixed upstream first."}}
{"actor":{"display_login":"iradul"}}