Skip to content
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

Does not play well with debugger #90

Closed
Morriz opened this issue Sep 6, 2016 · 3 comments
Closed

Does not play well with debugger #90

Morriz opened this issue Sep 6, 2016 · 3 comments

Comments

@Morriz
Copy link

Morriz commented Sep 6, 2016

If I do

/usr/local/bin/node --debug-brk=52090 --expose_debug_as=v8debug /Users/Morriz/Documents/workspace/playground/ms-api/node_modules/.bin/micro -p 3000 build/index.js

it never returns, making it impossible to debug ;|

Any ideas? I tried passing the app params behind --, but that gave an error:
micro: Error when importing /Users/Morriz/Documents/workspace/playground/ms-api/-p: Error: Cannot find module '/Users/Morriz/Documents/workspace/playground/ms-api/-p'

It would be nice if the script would allow param parsing behind --

@knownasilya
Copy link

knownasilya commented Sep 10, 2016

Neither does node debug which micro -p 3000 work, which makes development hard.

Although node debug node_modules/.bin/micro -p 3000 works.

@leo leo changed the title micro does not play well with debugger Does not play well with debugger Oct 8, 2016
@timneutkens
Copy link
Member

@Morriz could you try the master branch with node --harmony-async-await? This should allow you to debug since async-to-gen is not loaded 👍

@timneutkens
Copy link
Member

Fixed in #125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants