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.

No feedback on SyntaxError

See original GitHub issue

Steps to reproduce

Tell us about your environment:

  • ndb version: 1.0.18
  • Platform / OS version: ubuntu 17.04
  • Node.js version: 8.9.4

What steps will reproduce the problem?

// File: test.js
test()
function test() {
 debugger {
}
  1. ndb test.js

What is the expected result? Some feedback that there is a syntax error

What happens instead? No feedback, nothing happens

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
ak239commented, Aug 8, 2018

It looks to me that the root of the issue is combination of “Pause on exception” toggle, “Blackbox anything outside working directory” checkbox from Settings and Node 8.

You can disable “Pause on exception” to get SyntaxError in console. You can disable “Blackbox anything outside working directory” to get pause inside internal vm.js script. You can update your node to 10 to get SyntaxError in console even when both features are enabled.

1reaction
ak239commented, Aug 7, 2018

Thanks! I finally can reproduce it locally and am working on fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SyntaxError: Unexpected end of input when using mode: 'no ...
I tried a ReactJS fetch call to a REST-API and want to handle the response. The call works, ...
Read more >
Blazor - Unexpected token < in JSON at position 0
Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0. Hi,. I have an issue with a Blazor page....
Read more >
Invalid Syntax in Python: Common Reasons for SyntaxError
In this step-by-step tutorial, you'll see common examples of invalid syntax in Python and learn how to resolve the issue. If you've ever...
Read more >
SyntaxError - JavaScript - MDN Web Docs
It is thrown when the JavaScript engine encounters tokens or token order that does not conform to the syntax of the language when...
Read more >
SyntaxError: Unexpected token: E (sys_script_inclu...
Hi, I am getting "SyntaxError: Unexpected token: E ... line 155" error in workflow for few tickets,Is there any issue with my script?...
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