question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Method for debugging in packaged application no longer works

See original GitHub issue

I think this used to work in the packaged app (yarn run package) and not only when using yarn run start but this no longer works with the current dependency versions. (Or this never worked in the packaged application and I’m remembering incorrectly.)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
Slapboxcommented, Jun 10, 2018

Whoops. This issue should be closed. This was solved in another thread that I can’t find right now.

I’m not sure if the solution has been merged though.

1reaction
goldyluckscommented, Apr 15, 2018

It’s working for me after setting:

// webpack.config.main.prod.js
// plugins
    new webpack.EnvironmentPlugin({
      NODE_ENV: 'production',
      DEBUG_PROD: `${process.env.DEBUG_PROD}`,
    })

I also added

    new UglifyJSPlugin({
      parallel: true,
      sourceMap: true,
      test: !process.env.DEBUG_PROD ? /\.js$/i : /cantTouchThis/,
    })
Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Debugging Techniques to Speed Up Troubleshooting | Toptal
Tip #1: Remove or automate all the configuration needed for the application to run. How much configuration is required to get the software...
Read more >
Debugging doesn't start [closed] - Stack Overflow
Right-click the solution and select Properties, and then notice if the checkbox for your solution in the Deploy column is checked, if it...
Read more >
Debug an installed UWP app package in Visual Studio
In Visual Studio, select Debug > Other Debug Targets > Debug Installed App Package. In the Debug Installed App Package dialog, under Connection ......
Read more >
Debugging into a NuGet package
The first step required is to create a local NuGet folder to host the debug NuGet packages. The word local here does not...
Read more >
9 Running and Debugging Java Application Projects
Debugging is the process of examining your application for errors. The process of debugging is accomplished by setting breakpoints and watches in your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found