diegohaz/rest

Debugging with vscode | es6 imported variables not visible by the debugger

fmagno opened this issue · 1 comments

image

Hi,

I understand this is not specifically a diegohaz/rest issue but I believe it may be affecting a lot of people who use this package.

Kind regards,

Apparently it is possible to access imported variables by prefixing those with underscore _.

E.g
import { env, mongo, port, ip, apiRoot } from './config'

apiRoot is accessible in the debugger panel via _apiRoot