Debug original function invoked by spec
See original GitHub issueHi,
not sure if this has been answered before, but couldn’t find anything related.
I am trying to debug why a test fails and although using npm run karma
and opening a second tab with debug as per instructions gives me the ability to add break points to the spec code, the code to be tests is minified and I cannot place a break point there. Debugging the actual test code is only half the story. Am I missing something?
I also clicked on the notification about pretty printing the minified file, which made no difference
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Running (invoking) or debugging the local version of an AWS ...
Describes how to use the AWS Toolkit for JetBrains to run (invoke) or debug the local version of an AWS Lambda function.
Read more >Running ruby debug in rspec? - Stack Overflow
spec /models/user_spec.rb require 'spec_helper' require 'ruby-debug' describe User do it "should be valid" do debugger User.new.should be_valid end end.
Read more >debug: Debug a Function - Rdrr.io
Use debugonce() to enter the debugger only the next time the function is invoked. To debug an S4 method by explicit signature, use...
Read more >Unable to debug AWS Lambda function locally with Rider #2207
I am using JetBrains Rider to debug a .Net Core AWS Lambda function locally. In 'run' configuration, I could see it executing the...
Read more >Debug a Function - R
Set, unset or query the debugging flag on a function. The text and condition arguments are the same as those that can be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome, just tried it and it works great. Thanks for the quick resolution.
I didn’t end up removing the sourcemaps from
npm test
in the end. I didn’t notice much difference in transpile time and they do give (more) useful traces when things go wrong.Removing the transform from debug mode has solved the issue for me: