cordova - VSCode Unverified Breakpoint -


read lot of articles unable resolved. , basics may not strong in area.

after getting frustrated huge installations of vs, started using vscode run cordova based apps.

what working?

  1. able produce launch.json based on cordova , able run application.
  2. i have concatenated javascript files , produce huge file (non uglified debug file).

what killing me?

when set breakpoints in vscode then,

  1. when sourcemaps attribute set true error breakpoint ignored because generated code not found (source map problem?).
  2. when sourcemaps attribute set false error unverified breakpoint in grey color.

    "name": "simulate android in browser", "type": "cordova", "request": "launch", "platform": "android", "target": "chrome", "simulateport": 8000, "livereload": true, "sourcemaps": false, "cwd": "${workspaceroot}" 

questions?

  1. do need source map? believe no referred file debug file already.
  2. what issue here , how can debug vscode here?
  3. i installed chrome debug extension , when chrome launched, unable find debug javascript file in source tab (this developer tool opened in vscode). when press f12 in chrome directly, chrome closes , debug session crashes/closes.


Comments

Popular posts from this blog

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Create a stacked percentage column -