Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

unable to debug on ios device "ionic cordova run ios" missing .ts files #1543

Open
@adsoftmike

Description

@adsoftmike

Short description of the problem:

when I use "ionic serve" I can see all of the .ts files in Chrome Dev Tools.
When I debug on an ios device by running "ionic cordova run ios" in Safari Web Inspector I can see .ts files for /src/app and /src/environments but that is it. No .ts files for any page sub-folders (i.e. /src/app/home). Therefore unable to debug.

What behavior are you expecting?

When running/debugging on a device I would expect to see all .ts files in /src/app and all sub-folders of /src/app like I do when using "ionic serve"

Steps to reproduce:

  1. ionic start myApp tabs
  2. ionic cordova platform add ios
  3. ionic cordova run ios
  4. open Safari Web Inspector
  5. on Debugger tab, expand Sources --> main-es2015.js --> src --> app

Missing .ts files like /src/app/home/home.page.ts

Which @ionic/app-scripts version are you using?
3.2.4

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Ionic:

Ionic CLI : 5.4.13 (/Users/michaelcrofut/.nvm/versions/node/v10.10.0/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.1

Cordova:

Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 4 other plugins)

Utility:

cordova-res : not installed
native-run (update available: 0.3.0) : 0.2.9

System:

Android SDK Tools : 26.1.1 (/usr/local/share/android-sdk)
ios-deploy : 2.0.0
ios-sim : 8.0.2
NodeJS : v10.10.0 (/Users/michaelcrofut/.nvm/versions/node/v10.10.0/bin/node)
npm : 6.4.1
OS : macOS Mojave
Xcode : Xcode 11.0 Build version 11A420a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions