Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.2.9 Version - Debbuger error in VSCode #297

Closed
asierf opened this issue Aug 7, 2017 · 7 comments
Closed

1.2.9 Version - Debbuger error in VSCode #297

asierf opened this issue Aug 7, 2017 · 7 comments

Comments

@asierf
Copy link

asierf commented Aug 7, 2017

1.2.8 Version was working fine in windows 7.

ERROR :
[cordova-tools] Error processing "launch": 'Debugger.setAsyncCallStackDepth' wasn't found

Console :
'Debugger.setAsyncCallStackDepth' wasn't foundError processing "launch": 'Debugger.setAsyncCallStackDepth' wasn't found

@itoys
Copy link
Contributor

itoys commented Aug 7, 2017

@asierf, thanks for reporting. Is it cordova or ionic app?
Could you providing precise steps to reproduce problem(which cordova version using, which configuration did you run, etc.)?
Also, could you please try creating an empty cordova project and try debugging it?

@asierf
Copy link
Author

asierf commented Aug 8, 2017

It's an Ionic v1 app running under emulated android sdk version 19

Ionic version 3.6.0
Cordova version 7.0.1

"name": "Run Android on emulator",
"type": "cordova",
"request": "launch",
"platform": "android",
"target": "emulator",
"port": 9222,
"sourceMaps": true,
"cwd": "${workspaceRoot}",
"ionicLiveReload": false

I have the same issue debbuging an empty cordova project

@vladimir-kotikov
Copy link

Ok, so this happens due to bug in vscode-chrome-debug-core, where Debugger.setAsyncCallStackDepth method is called during attach and while it is marked as optional its existense is not being checked before calling. The workaround for now is to catch the exception appropriately and silently continue

@vladimir-kotikov
Copy link

@asierf this has been fixed in #298 and will be available in the next release that likely will be available EOW.

@itoys
Copy link
Contributor

itoys commented Aug 9, 2017

@kirajhpang
Copy link

hi, I having this issue on debug ionic v2 when
Run iOS on simulator
Run iOS on device
Attach to running iOS on device/simulator

Debug Console output message show as following:

Attaching to ios
Configuring debugging proxy
Attaching to app.
DEVICE READY FIRED AFTER 2742 ms
Ionic Native: deviceready event fired after 2732 ms
OPEN database: _ionicstorage
new transaction is waiting for open operation
new transaction is waiting for open operation
OPEN database: _ionicstorage - OK
DB opened: _ionicstorage
'Debugger.setAsyncCallStackDepth' was not foundError processing "launch": 'Debugger.setAsyncCallStackDepth' was not found: [object Object]

My environment detail:
Node : v6.11.1
OS : macOS Sierra
Xcode : Xcode 8.3.3 Build version 8E3004b
ios-deploy : 1.9.1
ios-sim : 6.0.0
npm : 3.10.10

any issue or solution might relate to this?

@itoys
Copy link
Contributor

itoys commented Aug 16, 2017

Hi @kirajhpang this has been fixed in #298
Release coming soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants