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

Add sourcemap support #125

Merged
merged 1 commit into from
Jan 15, 2017
Merged

Add sourcemap support #125

merged 1 commit into from
Jan 15, 2017

Conversation

timneutkens
Copy link
Member

@timneutkens timneutkens commented Jan 15, 2017

Tested in vscode's debug mode (which is excellent btw) with this configuration:

{
    // Use IntelliSense to learn about possible Node.js debug attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node2",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceRoot}/node_modules/micro/bin/micro",
            "cwd": "${workspaceRoot}",
            "args": ["."],
            "sourceMaps": true,
            "env": {
                "NODE_ENV": "development"
            }
        },
        {
            "type": "node2",
            "request": "attach",
            "name": "Attach to Process",
            "port": 5858
        }
    ]
}

@timneutkens
Copy link
Member Author

@jaredpalmer 🙌

@timneutkens
Copy link
Member Author

Closing #90 after this is merged.

@leo leo merged commit a7c41ef into vercel:master Jan 15, 2017
@timneutkens timneutkens deleted the sourcemaps branch January 15, 2017 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants