Debug test with VSCode #264
Unanswered
ethancadoo
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Do you successfully debug naive flutter integration tests? If not maybe need to do that first. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a failing integration test that I would like to debug within vscode.
If I try to create a launch configuration like so:
launch.json
I expect vscode to automatically attach a debugger but instead I get the error:
No tests were found.
When I try to start the client from the command line and attach the vscode debugger afterwards I get the following errors in the client logs:
E/flutter (28117): [ERROR:flutter/runtime/dart_isolate.cc(143)] Could not prepare isolate.
E/flutter (28117): [ERROR:flutter/runtime/runtime_controller.cc(382)] Could not create root isolate.
And the manager is never able to start the test. The manager is able to cause a hot reload.
launch.json for attaching to running process.
Is this a limitation of this package or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions