question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The debug option stopped working in 1.6.2

See original GitHub issue

It seems like version 1.6.2 broke the debug: true option from working. I was able to dissect it to the following change: https://github.com/sidorares/node-mysql2/commit/e0077c0892fa27fe4bd39334be4a29dfe1592d18

The commit adds 'use strict' to lib/connection.js but there is a debug log in there that uses arguments.callee which is an error under strict mode.

I’m not sure what the appropriate fix would be. A quick fix would be just to remove 'use strict', but not sure if there should be additional refactoring to just make it work under strict mode.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:30 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
SimonSchickcommented, Nov 18, 2018

@sidorares Needs release I think?

0reactions
SimonSchickcommented, Nov 16, 2018

Created a minimalistic PR. @dougwilson I enjoyed the discussion 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug for Views not working (Views 1.6.2-b2) - Toolset
I am using the Views Base v1.2.1 theme with my simple child theme (both are currently active themes). All non-Toolset plugins are currently ......
Read more >
Debug mode not working · Issue #17314 · spyder-ide ... - GitHub
it seems like the IDE is hanging, all I can do is click the "Stop the current command" to exit the debug mode,...
Read more >
Eclipse doesn't stop in break points in debug mode
In the Common tab, select Debug option. And then start server in debug mode. It will work like a charm. Save this answer....
Read more >
Troubleshooting — ara 1.6.2.dev1 documentation
Attempting to browse the API server or it's built-in reporting UI can result in a HTTP 400 (Bad Request) error if the hostname...
Read more >
Important Information on Debug Commands - Cisco
Refer to the appropriate Cisco Debug Command Reference documentation for ... Note: When debugs are running, you do not usually see the router...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found