-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stopOnEntry not working #31267
Comments
@weinand same issue here |
What version of node? |
@weinand v8.2.1 |
I cannot reproduce with this code: console.log("hello"); Debugging does not break on the first line if the launch config has no "stopOnEntry" attribute or if the value is set to false. |
My setup is the following,
When I connect to the running Any thoughts? |
Or don't I simply see the use case of "stopOnEntry" in my scenario. |
Node 7.4.0 |
Was an exception thrown? Can you share the code? |
Does it make a difference if you add a |
@ewrayjohnson does it make a difference if you add a "protocol": "legacy" to your launch config? |
Stops on entry with: Node: v8.2.1, vscode 1.14.2 |
If legacy:
Due to debugging node with inspector. |
@ewrayjohnson how does your launch config look like? |
@crabicode node 8.x no longer supports "legacy" protocol. Please note: I suspect that @ewrayjohnson's issue is totally unrelated to the issue of @crabicode. @ewrayjohnson to be 100% sure: you are seeing this issue even if you add |
You do not need to have the stopOnEntry setting.
When running ANY node code in debug mode the debugger stops on the first line just as if you have stopOnEntry set to true.
… On Jul 23, 2017, at 3:05 PM, Igor | Игорь ***@***.***> wrote:
stopOnEntry
|
In microsoft/vscode-node-debug2#144 I made some changes to prevent an issue like this. It's not totally fixed but if you're seeing the same thing, it may work more often. Let me know if it's still an issue. |
The default "stopOnEntry' behavior has been changed to "stopOnEntry": true and "stopOnEntry": false, set in launch.json is ignored.
Steps to Reproduce:
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: