Skip to content

Chrome-devtools don't shows my typescript files, network didn't trace any request #5176

Open
@darkyelox

Description

@darkyelox

Tell us about the problem

I start to use chrome-devtools and notice that in the source tab there is no TS files shown, only HTML and CSS files are shown, so i can't debug using chrome (only works using VSCode plugin) also notices that i try to make a request with angular HTTP and the network tab dont trace nothing (no matter the request code)

Which platform(s) does your issue occur on?

Test only in Android

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.3.1
  • Cross-platform modules: 3.3.0
  • Runtime(s): tns-android = 3.3.1
  • Plugin(s):
"dependencies": {
    "@angular/animations": "~4.4.1",
    "@angular/common": "~4.4.1",
    "@angular/compiler": "~4.4.1",
    "@angular/core": "~4.4.1",
    "@angular/forms": "~4.4.1",
    "@angular/http": "~4.4.1",
    "@angular/platform-browser": "~4.4.1",
    "@angular/router": "~4.4.1",
    "@sgarciac/bombadil": "0.0.6",
    "nativescript-angular": "~4.4.0",
    "nativescript-theme-core": "~1.0.2",
    "reflect-metadata": "~0.1.8",
    "rxjs": "~5.4.2",
    "tns-core-modules": "~3.3.0",
    "toml": "^2.3.3",
    "zone.js": "~0.8.2"
  },
  "devDependencies": {
    "@types/jasmine": "^2.8.2",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "lazy": "1.0.11",
    "nativescript-dev-typescript": "~0.5.0",
    "typescript": "~2.4.2"
  }

Please tell us how to recreate the issue in as much detail as possible.

I only use the CLI create a simple project with a Login view (two fields one button) and make a call to my API like this:

this.http.post(this.config.loginUrl, {
      username: username,
      password: password
}).map(response => {
      return response.json()
})

Here some screenshots:

selection_124


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions