{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/339","repository_url":"https://api.github.com/repos/Microsoft/vscode-react-native","labels_url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/339/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/339/events","html_url":"https://github.com/Microsoft/vscode-react-native/issues/339","id":188549445,"number":339,"title":"Debugging in VS Code results in stack overflow in require.js, works fine at command prompt","user":{"login":"JohnGalt1717","id":1868147,"avatar_url":"https://avatars.githubusercontent.com/u/1868147?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnGalt1717","html_url":"https://github.com/JohnGalt1717","followers_url":"https://api.github.com/users/JohnGalt1717/followers","following_url":"https://api.github.com/users/JohnGalt1717/following{/other_user}","gists_url":"https://api.github.com/users/JohnGalt1717/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnGalt1717/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnGalt1717/subscriptions","organizations_url":"https://api.github.com/users/JohnGalt1717/orgs","repos_url":"https://api.github.com/users/JohnGalt1717/repos","events_url":"https://api.github.com/users/JohnGalt1717/events{/privacy}","received_events_url":"https://api.github.com/users/JohnGalt1717/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-10T16:10:31Z","updated_at":"2016-11-15T00:20:20Z","closed_at":"2016-11-15T00:20:19Z","body":"## Actual Behavior\r\n1. I have a project that uses typescript, files go into a build folder. index.android.js loads the app from the index.android.tsx file that is compiled.\r\n2. Running: react-native run-android runs fine and chrome debugs fine with hot reload and no errors\r\n3. Creating the default launcher.json file and running with Debug Android against VS Android Emulators results in stack overflow.\r\n\r\n## Expected Behavior\r\n1. Should debug the same as chrome and just work.\r\n\r\n## Software versions\r\n- React-Native VS Code extension version:  latest\r\n- VSCode version:  1.7.1\r\n- OS platform and version:  Windows 10 anniversary x64\r\n- NodeJS version: 6.9.1\r\n- React Native version: 0.37.0\r\n\r\n## Outputs (Include if relevant)\r\nMaximum call stack size exceeded\r\nFailed to print error:  Requiring module \"208\", which threw an exception.\r\n\r\n```\r\n- Output of the React-Native output channel (View -> Toggle Output -> Select React-Native in ListBox):\r\n```\r\nGetting exponent dependecy.\r\n######### Checking react native is correctly setup. This may take a while... ##########\r\nChecking if the correct react native is installed..\r\n######### Starting Packager ##########\r\n######### Executing command: react-native.cmd start --port 8081 ##########\r\nScanning 714 folders for symlinks in d:\\Repos\\CADLearning\\Mobile\\CADLearning.Mobile\\node_modules (26ms)\r\n ┌────────────────────────────────────────────────────────────────────────────┐ \r\n │  Running packager on port 8081.                                            │ \r\n │                                                                            │ \r\n │  Keep this packager running while developing on any JS projects. Feel      │ \r\n │  free to close this tab and run your own packager instance if you          │ \r\n │  prefer.                                                                   │ \r\n │                                                                            │ \r\n │  https://github.com/facebook/react-native                                  │ \r\n │                                                                            │ \r\n └────────────────────────────────────────────────────────────────────────────┘ \r\nLooking for JS files in\r\n   d:\\Repos\\CADLearning\\Mobile\\CADLearning.Mobile \r\n\r\n[Hot Module Replacement] Server listening on /hot\r\n\r\nReact packager ready.\r\n\r\n######### Packager started. ##########\r\n[11/10/2016, 11:06:03 AM] <START> Requesting bundle  url: /index.android.bundle?platform=android  \r\n[11/10/2016, 11:06:10 AM] <START> Initializing Packager\r\n[11/10/2016, 11:06:10 AM] <START> Building in-memory fs for JavaScript\r\n[11/10/2016, 11:06:10 AM] <END>   Building in-memory fs for JavaScript (87ms)\r\n[11/10/2016, 11:06:10 AM] <START> Building Haste Map\r\n[11/10/2016, 11:06:10 AM] <END>   Building Haste Map (81ms)\r\n[11/10/2016, 11:06:10 AM] <END>   Initializing Packager (231ms)\r\n[11/10/2016, 11:06:10 AM] <START> Transforming modules\r\n[11/10/2016, 11:06:11 AM] <END>   Transforming modules (336ms)\r\n######### The Bundle Cache was prewarmed. ##########\r\n[11/10/2016, 11:06:11 AM] <END>   Requesting bundle  url: /index.android.bundle?platform=android   (7728ms)\r\nStarting custom debugger by executing: echo A debugger is not needed:  \"d:\\Repos\\CADLearning\\Mobile\\CADLearning.Mobile\"\r\nStarting custom debugger by executing: echo A debugger is not needed:  \"d:\\Repos\\CADLearning\\Mobile\\CADLearning.Mobile\"\r\nStarting custom debugger by executing: echo A debugger is not needed:  \"d:\\Repos\\CADLearning\\Mobile\\CADLearning.Mobile\"\r\n[11/10/2016, 11:06:28 AM] <START> Requesting bundle  url: /index.android.bundle?platform=android&dev=true&hot=true&minify=false  \r\n[11/10/2016, 11:06:28 AM] <START> Transforming modules\r\n[11/10/2016, 11:06:28 AM] <END>   Transforming modules (479ms)\r\n[11/10/2016, 11:06:28 AM] <END>   Requesting bundle  url: /index.android.bundle?platform=android&dev=true&hot=true&minify=false   (551ms)\r\n[11/10/2016, 11:06:28 AM] <START> Requesting bundle  url: /index.android.map?platform=android&dev=true&hot=true&minify=false  \r\n[11/10/2016, 11:06:28 AM] <END>   Requesting bundle  url: /index.android.map?platform=android&dev=true&hot=true&minify=false   (38ms)\r\n[11/10/2016, 11:06:32 AM] <START> Requesting bundle  url: /index.android.bundle?platform=android&dev=true&hot=true&minify=false  \r\n[11/10/2016, 11:06:32 AM] <END>   Requesting bundle  url: /index.android.bundle?platform=android&dev=true&hot=true&minify=false   (16ms)\r\n[11/10/2016, 11:06:32 AM] <START> Requesting bundle  url: /index.android.map?platform=android&dev=true&hot=true&minify=false  \r\n[11/10/2016, 11:06:32 AM] <END>   Requesting bundle  url: /index.android.map?platform=android&dev=true&hot=true&minify=false   (59ms)\r\n[Hot Module Replacement] Client connected\r\n\r\n```\r\n- Output of the Developer Tools console (Help -> Toggle Developer Tools -> Select Console tab):\r\n```\r\nMaximum call stack size exceeded\r\n<unknown>\r\n...\\.vscode\\.react\\index.android.bundle:27998:14\r\n\r\ngetValue\r\n...\\.vscode\\.react\\index.android.bunding:15804:10\r\n```\r\n"}}
{"actor":{"display_login":"MSLaguana"}}