{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/328","repository_url":"https://api.github.com/repos/Microsoft/vscode-react-native","labels_url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/328/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/328/events","html_url":"https://github.com/Microsoft/vscode-react-native/issues/328","id":185433476,"number":328,"title":"Can't add breakpoint, source maps issue?","user":{"login":"kidtsunami","id":504253,"avatar_url":"https://avatars.githubusercontent.com/u/504253?v=3","gravatar_id":"","url":"https://api.github.com/users/kidtsunami","html_url":"https://github.com/kidtsunami","followers_url":"https://api.github.com/users/kidtsunami/followers","following_url":"https://api.github.com/users/kidtsunami/following{/other_user}","gists_url":"https://api.github.com/users/kidtsunami/gists{/gist_id}","starred_url":"https://api.github.com/users/kidtsunami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kidtsunami/subscriptions","organizations_url":"https://api.github.com/users/kidtsunami/orgs","repos_url":"https://api.github.com/users/kidtsunami/repos","events_url":"https://api.github.com/users/kidtsunami/events{/privacy}","received_events_url":"https://api.github.com/users/kidtsunami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-26T15:47:17Z","updated_at":"2016-12-01T09:45:09Z","closed_at":null,"body":"## Actual Behavior\n1. I run the Debug iOS command from the debugger panel \n2. Everything appears to load correctly into the Simulator and I'm able to compile my ts properly resulting in changes in the Simulator\n3. I click to add a breakpoint to index.ios.tsx\n4. Breakpoint appears grayed out and when I hover I see this message:\n   \"Breakpoint ignored because generated source code not found (source map problem?)\"\n   ![sharing_frame_window](https://cloud.githubusercontent.com/assets/504253/19730067/0439aece-9b67-11e6-97cb-c3150a3698ff.png)\n## Expected Behavior\n1. I run the Debug iOS command from the debugger panel \n2. Everything appears to load correctly into the Simulator and I'm able to compile my ts properly resulting in changes in the Simulator\n3. I click to add a breakpoint to index.ios.tsx\n4. Breakpoint is added and I'm able to refresh the simulator and see it catch\n## Software versions\n- React-Native VS Code extension version: 0.2.1\n- VSCode version: 1.6.1\n- OS platform and version: Mac OS Sierra v10.12.1\n- React Native version: 0.32.1\n## Outputs (Include if relevant)\n- Output of the Debug Console (View -> Toggle Debug Console): \n  [vscode-react-native] Starting React Native Packager.\n  [vscode-react-native] Prewarming bundle cache. This may take a while ...\n  [vscode-react-native] Building and running application.\n  [vscode-react-native] Executing command: react-native run-ios --simulator iPhone 5s --project-path ios\n  Found Xcode project TypescriptTest3.xcodeproj\n  Launching iPhone 5s (10.0)...\n  Building using \"xcodebuild -project TypescriptTest3.xcodeproj -scheme TypescriptTest3 -destination id=E3F427C1-5B10-45B9-AE0E-313C6E72965F -derivedDataPath build\"\n  User defaults from command line:\n  IDEDerivedDataPathOverride = /Users/davidhelmer/Work/React Native/TypescriptTest4/ios/build\n  === BUILD TARGET RCTVibration OF PROJECT RCTVibration WITH CONFIGURATION Debug ===\n  Check dependencies\n  === BUILD TARGET RCTGeolocation OF PROJECT RCTGeolocation WITH CONFIGURATION Debug ===\n  Check dependencies\n  === BUILD TARGET RCTLinking OF PROJECT RCTLinking WITH CONFIGURATION Debug ===\n  Check dependencies\n  === BUILD TARGET React OF PROJECT React WITH CONFIGURATION Debug ===\n  Check dependencies\n  PhaseScriptExecution Run\\ Script /Users/davidhelmer/Work/React\\ Native/TypescriptTest4/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh\n  cd \"/Users/davidhelmer/Work/React Native/TypescriptTest4/node_modules/react-native/React\"\n  export ACTION=build\n  export AD_HOC_CODE_SIGNING_ALLOWED=NO\n  export ALTERNATE_GROUP=staff\n  export ALTERNATE_MODE=u+w,go-w,a+rX\n  export ALTERNATE_OWNER=davidhelmer\n  export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO\n  export ALWAYS_SEARCH_USER_PATHS=NO\n  export ALWAYS_USE_SEPARATE_HEADERMAPS=NO\n  export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer\n  export APPLE_INTERNAL_DIR=/AppleInternal\n  export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation\n  export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library\n  export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools\n  export APPLICATION_EXTENSION_API_ONLY=NO\n  export APPLY_RULES_IN_COPY_FILES=NO\n  export ARCHS=x86_64\n  export ARCHS_STANDARD=\"i386 x86_64\"\n  export ARCHS_STANDARD_32_64_BIT=\"i386 x86_64\"\n  export ARCHS_STANDARD_32_BIT=i386\n  export ARCHS_STANDARD_64_BIT=x86_64\n  export ARCHS_STANDARD_INCLUDING_64_BIT=\"i386 x86_64\"\n  export ARCHS_UNIVERSAL_IPHONE_OS=\"i386 x86_64\"\n- Output of the React-Native output channel (View -> Toggle Output -> Select React-Native in ListBox): \n  Getting exponent dependecy.\n  Dependency not present. Installing it...\n  ######### Checking react native is correctly setup. This may take a while... ##########\n  Checking if the correct react native is installed..\n  ######### Starting Packager ##########\n  ######### Executing command: react-native start --port 8081 ##########\n  ..Scanning 647 folders for symlinks in /Users/davidhelmer/Work/React Native/TypescriptTest4/node_modules (21ms)\n  ┌────────────────────────────────────────────────────────────────────────────┐ \n  │  Running packager on port 8081.                                            │ \n  │                                                                            │ \n  │  Keep this packager running while developing on any JS projects. Feel      │ \n  │  free to close this tab and run your own packager instance if you          │ \n  │  prefer.                                                                   │ \n  │                                                                            │ \n  │  https://github.com/facebook/react-native                                  │ \n  │                                                                            │ \n  └────────────────────────────────────────────────────────────────────────────┘ \n  Looking for JS files in\n  /Users/davidhelmer/Work/React Native/TypescriptTest4 \n\n.[11:35:12 AM] <START> Building Dependency Graph\n[11:35:12 AM] <START> Crawling File System\n[Hot Module Replacement] Server listening on /hot\n\nReact packager ready.\n\n[11:35:12 AM] <END>   Crawling File System (443ms)\n[11:35:12 AM] <START> Building in-memory fs for JavaScript\n[11:35:13 AM] <END>   Building in-memory fs for JavaScript (508ms)\n[11:35:13 AM] <START> Building in-memory fs for Assets\n[11:35:13 AM] <END>   Building in-memory fs for Assets (413ms)\n[11:35:13 AM] <START> Building Haste Map\n.[11:35:13 AM] <START> Building (deprecated) Asset Map\n[11:35:14 AM] <END>   Building (deprecated) Asset Map (167ms)\n[11:35:14 AM] <END>   Building Haste Map (458ms)\n[11:35:14 AM] <END>   Building Dependency Graph (1874ms)\n###### ### Packager started.\n\n[11:35:14 AM] <START> request:/index.ios.bundle?platform=ios\n[11:35:14 AM] <START> find dependencies\n...................[11:35:42 AM] <START> request:/build/index.ios.bundle?platform=ios&dev=true&minify=false\n[11:35:42 AM] <START> find dependencies\nStarting custom debugger by executing: echo A debugger is not needed:  \"/Users/davidhelmer/Work/React Native/TypescriptTest4\"\n[11:35:43 AM] <START> request:/build/index.ios.bundle?platform=ios&dev=true&minify=false\n.[11:35:44 AM] <END>   find dependencies (1970ms)\n[11:35:44 AM] <END>   request:/build/index.ios.bundle?platform=ios&dev=true&minify=false (2184ms)\n[11:35:44 AM] <END>   request:/build/index.ios.bundle?platform=ios&dev=true&minify=false (1068ms)\n.........[11:36:04 AM] <START> request:/build/index.ios.bundle?platform=ios&dev=true&minify=false\n[11:36:04 AM] <END>   request:/build/index.ios.bundle?platform=ios&dev=true&minify=false (24ms)\nStarting custom debugger by executing: echo A debugger is not needed:  \"/Users/davidhelmer/Work/React Native/TypescriptTest4\"\n......######### Stopping Packager ##########\n###### ### Packager stopped\n###### ### Checking react native is correctly setup. This may take a while...\n\nChecking if the correct react native is installed..\n###### ### Starting Packager\n###### ### Executing command: react-native start --port 8081\n\nScanning 647 folders for symlinks in /Users/davidhelmer/Work/React Native/TypescriptTest4/node_modules (38ms)\n ┌────────────────────────────────────────────────────────────────────────────┐ \n │  Running packager on port 8081.                                            │ \n │                                                                            │ \n │  Keep this packager running while developing on any JS projects. Feel      │ \n │  free to close this tab and run your own packager instance if you          │ \n │  prefer.                                                                   │ \n │                                                                            │ \n │  https://github.com/facebook/react-native                                  │ \n │                                                                            │ \n └────────────────────────────────────────────────────────────────────────────┘ \nLooking for JS files in\n   /Users/davidhelmer/Work/React Native/TypescriptTest4 \n\n[11:44:40 AM] <START> Building Dependency Graph\n[11:44:40 AM] <START> Crawling File System\n[Hot Module Replacement] Server listening on /hot\n\nReact packager ready.\n\n[11:44:40 AM] <END>   Crawling File System (284ms)\n[11:44:40 AM] <START> Building in-memory fs for JavaScript\n[11:44:40 AM] <END>   Building in-memory fs for JavaScript (251ms)\n[11:44:40 AM] <START> Building in-memory fs for Assets\n[11:44:41 AM] <END>   Building in-memory fs for Assets (201ms)\n[11:44:41 AM] <START> Building Haste Map\n[11:44:41 AM] <START> Building (deprecated) Asset Map\n[11:44:41 AM] <END>   Building (deprecated) Asset Map (84ms)\n###### ### Packager started.\n\n[11:44:41 AM] <END>   Building Haste Map (278ms)\n[11:44:41 AM] <END>   Building Dependency Graph (1024ms)\n[11:44:41 AM] <START> request:/index.ios.bundle?platform=ios\n[11:44:41 AM] <START> find dependencies\n[11:44:59 AM] <START> request:/build/index.ios.bundle?platform=ios&dev=true&minify=false\n[11:44:59 AM] <START> find dependencies\nStarting custom debugger by executing: echo A debugger is not needed:  \"/Users/davidhelmer/Work/React Native/TypescriptTest4\"\n[11:45:00 AM] <START> request:/build/index.ios.bundle?platform=ios&dev=true&minify=false\n[11:45:00 AM] <END>   find dependencies (1796ms)\n[11:45:00 AM] <END>   request:/build/index.ios.bundle?platform=ios&dev=true&minify=false (1926ms)\n[11:45:00 AM] <END>   request:/build/index.ios.bundle?platform=ios&dev=true&minify=false (761ms)\n[11:45:01 AM] <START> request:/build/index.ios.bundle?platform=ios&dev=true&minify=false\n[11:45:01 AM] <END>   request:/build/index.ios.bundle?platform=ios&dev=true&minify=false (15ms)\n[11:45:01 AM] <START> request:/build/index.ios.map?platform=ios&dev=true&minify=false\n[11:45:01 AM] <END>   request:/build/index.ios.map?platform=ios&dev=true&minify=false (59ms)\n[11:45:22 AM] <START> request:/build/index.ios.bundle?platform=ios&dev=true&minify=false\n[11:45:22 AM] <END>   request:/build/index.ios.bundle?platform=ios&dev=true&minify=false (14ms)\nStarting custom debugger by executing: echo A debugger is not needed:  \"/Users/davidhelmer/Work/React Native/TypescriptTest4\"\n[11:45:22 AM] <START> request:/build/index.ios.bundle?platform=ios&dev=true&minify=false\n[11:45:22 AM] <END>   request:/build/index.ios.bundle?platform=ios&dev=true&minify=false (11ms)\n[11:45:22 AM] <START> request:/build/index.ios.map?platform=ios&dev=true&minify=false\n[11:45:22 AM] <END>   request:/build/index.ios.map?platform=ios&dev=true&minify=false (57ms)\n- Output of the Developer Tools console (Help -> Toggle Developer Tools -> Select Console tab): \n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/comments/264126865","html_url":"https://github.com/Microsoft/vscode-react-native/issues/328#issuecomment-264126865","issue_url":"https://api.github.com/repos/Microsoft/vscode-react-native/issues/328","id":264126865,"user":{"login":"vladimir-kotikov","id":3857604,"avatar_url":"https://avatars.githubusercontent.com/u/3857604?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimir-kotikov","html_url":"https://github.com/vladimir-kotikov","followers_url":"https://api.github.com/users/vladimir-kotikov/followers","following_url":"https://api.github.com/users/vladimir-kotikov/following{/other_user}","gists_url":"https://api.github.com/users/vladimir-kotikov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimir-kotikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimir-kotikov/subscriptions","organizations_url":"https://api.github.com/users/vladimir-kotikov/orgs","repos_url":"https://api.github.com/users/vladimir-kotikov/repos","events_url":"https://api.github.com/users/vladimir-kotikov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimir-kotikov/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T09:45:09Z","updated_at":"2016-12-01T09:45:09Z","body":"Upd.: there is a PR mhzed/react-native-sm-transformer#1, that fixes some issues that are causing extension (and debugger) to fail breakpoints validation"}}
{"actor":{"display_login":"vladimir-kotikov"}}