PyCharm 2017.3 Help

Debugging

General debugging steps

  1. To debug CoffeeScript, TypeScript, and Dart code, you need to generate a source map for it. This will set the correspondence between lines in your original code and in the generated JavaScript code. If no source map is generated, your breakpoints will not be recognized and processed correctly.
  2. Define a run/debug configuration for the application to be debugged.
  3. Create breakpoints in the source code.
  4. Launch a debugging session.
  5. Pause or resume the debugging session as required.
  6. During the debugger session, step through the breakpoints, evaluate expressions, change values on-the-fly examine suspended program, and set watches.

After you've started a debug session, the debug icon that marks the Debug tool window toggles to debug active to indicate that the debug process is active.

Last modified: 28 March 2018

See Also