No feedback on SyntaxError
See original GitHub issueSteps 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 {
}
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:
- Created 5 years ago
- Comments:12
Top 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 >
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 Free
Top 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
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.
Thanks! I finally can reproduce it locally and am working on fix.