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.

Design to Debug tab recreates all the queries every time

See original GitHub issue

Describe the bug In the Designer, when going from Design to Debug, with the file type Open API 2, the queries are regenerated every time. In the end I have a tons of duplicate queries that I don’t commit. Also I can’t edit them for fear that I will delete them when commiting.

To Reproduce

  1. Find an OpenAPI 2 file or OpenAPI 3 with errors.
  2. Remove all errors/warnings of the api file found by the parser if there are
  3. Go to the debug tab
  4. Wait a bit to see brand new queries

Notice the following in the console:

21:19:43.266 › [App] Forcing update from environment change (3) ["update", {…}, false] 21:19:43.300 › [App] Forcing update from environment change (3) ["update", {…}, false]

(nothing has been manually changed in the environment part)

Expected behavior If the folder for a query is there, it should not regenerate inside.

Desktop (please complete the following information):

  • OS: Windows 10
  • Installation Method: .Exe install

Version: Insomnia Designer 2020.4.2 Release date: 21/10/2020 OS: Windows_NT x64 10.0.19041 Electron: 9.1.1 Node: 12.14.1 V8: 8.3.110.13-electron.0 Architecture: x64 node-libcurl: libcurl/7.69.1-DEV OpenSSL/1.1.1d zlib/1.2.11 WinIDN libssh2/1.9.0_DEV nghttp2/1.40.0

Maybe a way to manually block the query creation?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
RollMasterJWcommented, Dec 8, 2020

We can reproduce this with just a json file import.

Steps to Reproduce:

  1. Open Insomnia
  2. Create new Document from URL
  3. Use: https://api.rmaster.com/docs/endpoints/swagger.json
  4. Fetch and Import
  5. Open Document in Debug view (note, only one ‘API Version’ endpoint)
  6. Switch to Design View
  7. Switch to Debug View (Note, once loaded there are now 2 'API Version endpoints)
  8. Repeat 6 & 7 until confused as to which one was the one you edited and need to save of the 224 endpoints that get added each time

First Open

image

After switching views

image

It seems to constantly just import over and over.

0reactions
filfreirecommented, Aug 12, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Debugger: Tips for fast debugging
React Native Debugger comes with features that can boost your development and debugging speed. Here's how to use it.
Read more >
Introducing Debug Tools: Quickly find and fix errors in ... - Retool
The Timeline tab shows a live view of all query runs, making it easier to see run times and quickly identify successful, failed,...
Read more >
Using Debug | Apigee X - Google Cloud
Click the Debug tab at the top-left of the window. ... Each step is represented by a rectangle that extends from the start...
Read more >
Database Project Settings - SQL Server Data Tools (SSDT)
Learn about database project settings. See how to use these settings to control aspects of your database, debugging, ...
Read more >
Blueprint Debugging Example - Unreal Engine Documentation
All Breakpoints for a given Blueprint are displayed in the Debug tab, ... disabled, enabled, or destroyed at any time, including during a...
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