rollup / rollup/rollup

debugger are removed in rollup compile

Open
#4,135 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
26.3k
Forks
1.8k
Avg merge
2d 11h
Merged PRs (30d)
20

Description

I am using rollup to compiled Svelte Framework and using debugger in code. But the rollup is not keeping any debuggers in compiled code. Can we enable it?

Expected Behavior / Situation

Have debugger in compiled code

Actual Behavior / Situation

debugger are removed from the code

Modification Proposal

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, Rollup version, or reproduction configuration are named. Start by reproducing the Svelte compilation and inspect the generated output to identify where debugger statements are removed; done means a suitable compilation preserves them when enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, rollup
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.